CTreeCtrl::EnsureVisible

Call this member function to ensure that a tree view item is visible. If necessary, the function expands the parent item or scrolls the tree view control so that the item is visible.

Syntax

BOOL EnsureVisible( HTREEITEM hItem );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CTreeCtrl::GetFirstVisibleItem, CTreeCtrl::GetVisibleCount