Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
No
Platform Notes
None

TreeView_DeleteAllItems

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

BOOL TreeView_DeleteAllItems(

hwnd

);

Parameters

hwnd

Handle to 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_DeleteItem
, TVM_DELETEITEM, TVN_DELETEITEM, TVN_ENDLABELEDIT

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database