CTreeCtrl::DeleteItem

CTreeCtrl::DeleteItem

BOOL DeleteItem( HTREEITEM hItem );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hItem

Handle of the tree item to be deleted. If hitem has the TVI_ROOT value, all items are deleted from the tree view control.

Remarks

Call this function to delete an item from the tree view control.

CTreeCtrl Overview |  Class Members |  Hierarchy Chart

See Also   CTreeCtrl::DeleteAllItems, CTreeCtrl::InsertItem