Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Use this function to determine whether the tree item specified by hItem has child items.
BOOL ItemHasChildren(
HTREEITEM hItem
) const;
Parameters
- hItem
Handle of a tree item.
Return Value
Nonzero if the tree item specified by hItem has child items; 0 if it does not.
Remarks
If so, you can then use CTreeCtrl::GetChildItem to retrieve those child items.
Example
See the example for CTreeCtrl::GetSelectedItem.
Requirements
Header: afxcmn.h