This message removes an item from a tree view control. You can send this message explicitly or by using the TreeView_DeleteItem or TreeView_DeleteAllItems macro.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related macros: | TreeView_DeleteItem TreeView_DeleteAllItems |
Syntax
Parameters
hitem
Handle to the item to delete. If hitem is the TVI_ROOT value, all items are deleted from the tree view control.
Return Values
TRUE indicates success. FALSE indicates failure.
See Also