HTREEITEM GetParentItem( HTREEITEM hItem );
Return Value
The handle of the parent item; otherwise NULL.
Parameters
hItem
Handle of a tree item.
Remarks
Call this function to retrieve the parent of hItem.
Example
See the example for CTreeCtrl::EnsureVisible.
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::GetChildItem, CTreeCtrl::GetRootItem, CTreeCtrl::GetItem, CTreeCtrl::GetPrevSiblingItem