EVENT_SELECTION_CHANGE
Description
Tree Controls—When a user makes a selection change on a tree item, LabWindows/CVI generates an EVENT_SELECTION_CHANGE event and sends the event to the callback function associated with the tree control. This event is sent only when the tree is set to multiple selection mode.
This event is swallowable for tree controls only. Return 1 to swallow EVENT_SELECTION_CHANGE.
Table Controls—When the cell selection changes as a result of an interactive action, LabWindows/CVI generates an EVENT_SELECTION_CHANGE event and sends the event to the callback function associated with the table control.
This event is not swallowable for table controls.
Applies To
Event Data Parameters
User Interface Object | Event Data Values |
---|---|
Trees | eventData1 = 1 (selection toggle on) eventData2 = itemIndex eventData1 = 0 (selection toggle off) eventData2 = itemIndex |
Tables | eventData1 = 0 (not used) eventData2 = 0 (not used) |
LabWindows/CVI Compatibility
LabWindows/CVI 7.0 and later