Admin Production ni-theme
Current Publication

EVENT_COLLAPSE

LabWindows/CVI

EVENT_COLLAPSE

Description

When a user collapses a tree item, LabWindows/CVI generates an EVENT_COLLAPSE event and sends the event to the callback function associated with the tree control.

This event is swallowable. Return 1 to swallow EVENT_COLLAPSE.

Applies To

Trees

Event Data Parameters

Action Event Data Values
Right-clicking and selecting Collapse All eventData1 = VAL_ALL

eventData2 = 0
Right-clicking and selecting Collapse Subtree eventData1 = VAL_DESCENDENT

eventData2 = itemIndex
Clicking the minus sign or pressing the left arrow eventData1 = 0

eventData2 = itemIndex

LabWindows/CVI Compatibility

LabWindows/CVI 7.0 and later