EVENT_MARK_STATE_CHANGE
Description
Mark state change events are sent to the callback function When the check state changes for a list box item or tree item, LabWindows/CVI generates an EVENT_MARK_STATE_CHANGE event and sends the event to the callback function associated with the control.
For list box controls, this event is swallowable if you set ATTR_DRAGGABLE_MARKS to on. This event is not swallowable if you set ATTR_DRAGGABLE_MARKS to off.
For tree controls, any mark state event that is generated as a result of a mark reflect change is not swallowable.
Return 1 to swallow EVENT_MARK_STATE_CHANGE.
For tree items with radio buttons, the event that is swallowable is the event that is generated when you select an item. If, when you select an item, another item becomes deselected as a result, then that event is not swallowable.
Applies To
List boxes and trees
Event Data Parameters
eventData1 = The new mark state of the list item
eventData2 = itemIndex of the item whose mark state is being changed
LabWindows/CVI Compatibility
LabWindows/CVI 7.0 and later