Contents Index Topic Contents | ||
Previous Topic: TreeView_CreateDragImage Next Topic: TreeView_DeleteItem |
TreeView_DeleteAllItems
BOOL TreeView_DeleteAllItems( HWND hwndTV );Removes an item from a tree view control. You can use this macro, the TreeView_DeleteItem macro, or send the TVM_DELETEITEM message explicitly.
- Returns TRUE if successful, or FALSE otherwise.
- hwndTV
- Handle to the tree view control.
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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.