EVENT_DROP_COPY
- Updated2023-02-21
- 1 minute(s) read
EVENT_DROP_COPY
Description
As a user copies a tree item by dragging and dropping the tree item to a new location in the tree control, LabWindows/CVI generates an EVENT_DROP_COPY and sends the event to the callback function associated with the control.
This event is swallowable. Return 1 to swallow EVENT_DROP_COPY.
Applies To
Event Data Parameters
eventData1 = Position and relation. The eventData1 parameter contains both the new potential position and relation of the dragged item. The position and relation values are relative to the tree item at the index contained in eventData2. Position defines whether the item will be inserted before or after the tree item. The low order word contains the relation and will either be VAL_CHILD or VAL_SIBLING. The high order word contains the position and will either be VAL_PREV, VAL_NEXT, or VAL_FIRST.
eventData2 = destinationIndex. destinationIndex is the index of the new drop location.
LabWindows/CVI Compatibility
LabWindows/CVI 2012 and later