BOOL EnsureVisible( HTREEITEM hItem );
Return Value
Returns TRUE if the system scrolled the items in the tree-view control to ensure that the specified item is visible. Otherwise, the return value is FALSE.
Parameters
hItem
Handle of the tree item being made visible.
Remarks
Call this 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.
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::GetFirstVisibleItem, CTreeCtrl::GetVisibleCount