WinXTreeView_DeleteItem (hTreeView, hItem)
Deletes an item, and all it's children, from the tree view control
Parameter | Description |
---|---|
hTreeView | The handle to the tree view control which contains the item |
hItem | The handle to the item to delete |
$$TRUE on success or $$FALSE on fail
This function deletes all of an item's children as well. If you want to preserve them you'll need to write your own code to move them before deleting their parent. Note that you can delete everything by specifying 0 (or $$TVI_ROOT) for the hItem parameter.
'delete everything WinXTreeView_DeleteItem (hTreeView, $$TVI_ROOT) |