Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

EVENT_EXPAND

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info

Object Types: Trees.

Description: Expand events are sent to the callback function associated with the tree control when the user expands a tree item. To expand items, users can click the plus sign next to the tree item, press the right arrow, and right-click and select Expand Subtree or Expand All.

This event is swallowable. Return 1 to swallow EVENT_EXPAND.

Event Data Parameters:

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


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit