Partager via


TVM_DELETEITEM (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.