LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

EVENT_EXPAND

EVENT_EXPAND

Description

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

This event is swallowable. Return 1 to swallow EVENT_EXPAND.

Applies To

Trees

Event Data Parameters

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

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

eventData2 = itemIndex
Clicking the plus sign or pressing the right arrow eventData1 = 0

eventData2 = itemIndex

LabWindows/CVI Compatibility

LabWindows/CVI 7.0 and later

Was this information helpful?