This method ensures that a tree view item is visible. If necessary, the method expands the parent item or scrolls the tree view control so that the item is visible.
Header file: | Afxcmn.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions:: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL EnsureVisible( HTREEITEM hItem );
CTreeCtrl::GetFirstVisibleItem, CTreeCtrl::GetVisibleCount