CTreeCtrl::DeleteAllItems
Call this function to delete all items from the tree view control.
BOOL DeleteAllItems( );
Возвращаемое значение
Nonzero if successful; otherwise 0.
Пример
// The underlying Windows API always returns TRUE
VERIFY(m_TreeCtrl.DeleteAllItems());
Требования
Header: afxcmn.h