CTreeCtrl::GetParentItem
Call this function to retrieve the parent of hItem.
HTREEITEM GetParentItem(
HTREEITEM hItem
) const;
Параметры
- hItem
Handle of a tree item.
Возвращаемое значение
The handle of the parent item; otherwise NULL.
Заметки
This function will return NULL if the parent of the specified item is the root node of the tree.
Пример
See the example for CTreeCtrl::EnsureVisible.
Требования
Header: afxcmn.h