Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
UINTGetCount();
Return Value
The number of items in the tree view control; otherwise – 1.
Remarks
Call this function to retrieve a count of the items in a tree view control.
Example
// The pointer to my tree control.
extern CTreeCtrl* pmyTreeCtrl;
// Delete all of the items from the tree control.
pmyTreeCtrl->DeleteAllItems();
ASSERT(pmyTreeCtrl->GetCount() == 0);
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::GetVisibleCount