Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Call this function to retrieve the parent of hItem.
HTREEITEM GetParentItem(
HTREEITEM hItem
) const;
Parameters
- hItem
Handle of a tree item.
Return Value
The handle of the parent item; otherwise NULL.
Remarks
This function will return NULL if the parent of the specified item is the root node of the tree.
Example
See the example for CTreeCtrl::EnsureVisible.
Requirements
Header: afxcmn.h