Prev Next
The TreeView_DeleteItem macro removes an item from a tree-view control.
You can use this macro, the TreeView_DeleteAllItems
macro, or explicitly send the TVM_DELETEITEM
message.
BOOL TreeView_DeleteItem(
Parameters
-
hwnd
-
Handle to the tree-view control.
-
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
Returns TRUE if successful or FALSE otherwise.
Remarks
If the item label is being edited, the edit operation is canceled and the
parent window receives the TVN_ENDLABELEDIT notification message. The parent
window receives a TVN_DELETEITEM notification message when the item is
removed.
See Also
TreeView_DeleteAllItems, TVM_DELETEITEM,
TVN_DELETEITEM, TVN_ENDLABELEDIT
file: /Techref/os/win/api/win32/mac/src/mac04_25.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 03:15,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/mac/src/mac04_25.htm"> TreeView_DeleteItem</A> |
Did you find what you needed?
|
|