Freigeben über


CTreeCtrl::GetRootItem

Call this function to retrieve the root item of the tree view control.

HTREEITEM GetRootItem( ) const;

Return Value

The handle of the root item; otherwise NULL.

Example

See the example for CTreeCtrl::EditLabel.

Requirements

Header: afxcmn.h

See Also

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::GetItem

CTreeCtrl::GetChildItem

CTreeCtrl::GetParentItem