LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

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

Was this information helpful?

Log in to get a better experience

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit