Partager via


CTreeCtrl::DeleteAllItems

Call this function to delete all items from the tree view control.

BOOL DeleteAllItems( );

Return Value

Nonzero if successful; otherwise 0.

Example

// The underlying Windows API always returns TRUE
VERIFY(m_TreeCtrl.DeleteAllItems());

Requirements

Header: afxcmn.h

See Also

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::DeleteItem

CTreeCtrl::InsertItem