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.
BOOL ItemHasChildren( HTREEITEM hItem );
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CTreeCtrl::GetChildItem