CTreeCtrl::GetFirstVisibleItem

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

HTREEITEM GetFirstVisibleItem( ) const;

Return Value

The handle of the first visible item; otherwise NULL.

Example

See the example for CTreeCtrl::SetCheck.

Requirements

Header: afxcmn.h

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::GetNextVisibleItem

CTreeCtrl::GetPrevVisibleItem

CTreeCtrl::EnsureVisible

CTreeCtrl::GetVisibleCount

Other Resources

CTreeCtrl Members