Share via


TreeView_DeleteAllItems (Windows CE 5.0)

Send Feedback

This macro removes an item from a tree-view control. You can use this macro, the TreeView_DeleteItem macro, or send the TVM_DELETEITEM message explicitly.

BOOLTreeView_DeleteAllItems( hwnd );

Parameters

  • hwnd
    Handle to the tree view control.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

If the item label is being edited, the edit operation is canceled and the parent window receives the TVN_ENDLABELEDIT message. The parent window receives a TVN_DELETEITEM message when the item is removed.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TreeView_DeleteItem | TVM_DELETEITEM | TVN_DELETEITEM | TVN_ENDLABELEDIT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.