CTreeCtrl::ItemHasChildren

BOOL ItemHasChildren( HTREEITEM hItem );

Return Value

Nonzero if the tree item specified by hItem has child items; 0 if it does not.

Parameters

hItem

Handle of a tree item.

Remarks

Use this function to determine whether the tree item specified by hItem has child items. If so, you can then use CTreeCtrl::GetChildItem to retrieve those child items.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetChildItem