Partilhar via


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

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::GetItem

CTreeCtrl::GetChildItem

CTreeCtrl::GetParentItem

Other Resources

CTreeCtrl Members