The CW_LIGHT_EDITOR_GET procedure gets the CW_LIGHT_EDITOR properties.
Syntax
CW_LIGHT_EDITOR_GET, WidgetID [, DIRECTION_DISABLED=variable] [, DRAG_EVENTS=variable] [, HIDE_DISABLED=variable] [, LIGHT=variable] [, LOCATION_DISABLED=variable] [, TYPE_DISABLED=variable] [, XSIZE=variable] [, YSIZE=variable] [, XRANGE=variable] [, YRANGE=variable] [, ZRANGE=variable]
Arguments
WidgetID
The widget ID of the CW_ LIGHT_EDITOR compound widget.
Keywords
DIRECTION_DISABLED
Set this keyword to a named variable that will contain a boolean value indicating whether this option has been set to make the direction widget portion of the compound widget unchangeable by the user. It will appear insensitive and will not generate an event.
DRAG_EVENTS
Set this keyword to a named variable that will contain a boolean value indicating whether this option has been set to cause events to be generated continuously while a slider in the compound widget is being dragged or when the mouse cursor is being dragged across the draw widget portion of the compound widget.
When this keyword is set, a large number of events can be generated. On slower machines, poor performance can result. Therefore, this option should only be used when detailed or truly interactive control is required.
Note: Under Microsoft Windows, sliders do not generate these events, but behave just like regular sliders.
HIDE_DISABLED
Set this keyword to a named variable that will contain a boolean value indicating whether this option has been set to make the hide widget portion of the compound widget unchangeable by the user.
LIGHT
Set this keyword to a named variable that will contain one or more object references to IDLgrLight.
LOCATION_DISABLED
Set this keyword to a named variable that will contain a boolean value indicating whether this option has been set to make the location widget portion of the compound widget unchangeable by the user.
TYPE_DISABLED
Set this keyword to a named variable that will contain a boolean value indicating whether this option has been set to make the light type widget portion of the compound widget unchangeable by the user.
XRANGE
Set this keyword to a named variable that will contain a two-element vector defining the data range in the x direction.
XSIZE
Set this keyword to a named variable that will contain the width of the drawable area in pixels.
YRANGE
Set this keyword to a named variable that will contain a two-element vector defining the data range in the y direction.
YSIZE
Set this keyword to a named variable that will contain the height of the drawable area in pixels.
ZRANGE
Set this keyword to a named variable that will contain a two-element vector defining the data range in the z direction.
Version History
See Also
CW_LIGHT_EDITOR, CW_LIGHT_EDITOR_SET, IDLgrLight