Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
TVM_DELETEITEMwParam = 0;lParam= (LPARAM)(HTREEITEM)hitem;
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.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
SendMessage | TreeView_DeleteAllItems | TreeView_DeleteItem | TVN_DELETEITEM | TVN_ENDLABELEDIT
Send Feedback on this topic to the authors