Tree view controls are used to display a tree of information. The user can expand and collapse items by double clicking them, or by clicking the expand/collapse buttons that appear next to nodes.
You can enable tree view label editing when creating a tree view. When tree view label editing is enabled, the user can edit tree view labels by clicking a selected item and waiting a few milliseconds for a timer. To implement tree view label editing you also need to write an onLabelEdit callback function and register it with the WinXRegOnLabelEdit function.
You can enable tree view item dragging to allow the user to drag items from the tree view control. When the user drags an item, a semi transparent copy of that item is displayed under the mouse cursor. As the mouse moves over tree view items, they will become higlighted as drop targets. The user can drag tree view items out of the tree view control, but this will take a bit of work on the part of the programmer to implement. Also note that once a drag operation is complete, the programmer is responsible for actually moving or copying the dragged item.
To implement dragging you will need to write an onDrag callback function and register it with WinXRegOnDrag.
WinXAddTreeView
WinXTreeView_AddItem
WinXTreeView_GetNextItem
WinXTreeView_GetSelection