CTreeCtrl::ItemHasChildren

Call this member 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.

Syntax

BOOL ItemHasChildren( HTREEITEM hItem );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CTreeCtrl::GetChildItem