WinXTreeView_SetSelection (hTreeView, hItem)
Selects an item in a tree view control.
Parameter | Description |
---|---|
hTreeView | The handle to the tree view control |
hItem | The handle to the item to select |
$$TRUE on success or $$FALSE on fail
Set the hItem parameter to 0 ($$TVI_ROOT) to remove the selection.
'remove selection (select none) WinXTreeView_SetSelection (hTreeView, 0) |
WinXAddTreeView
WinXTreeView_AddItem
WinXTreeView_GetSelection
WinXTreeView_GetItemFromPoint