CTreeCtrl::GetCount
Call this function to retrieve a count of the items in a tree view control.
UINT GetCount( ) const;
Возвращаемое значение
The number of items in the tree view control.
Пример
// Delete all of the items from the tree control.
m_TreeCtrl.DeleteAllItems();
ASSERT(m_TreeCtrl.GetCount() == 0);
Требования
Header: afxcmn.h