CTreeCtrl::SelectSetFirstVisible

Call this member function to scroll the tree view vertically so the specified item is the first visible item. The function sends a TVM_SELECTITEM message to the window with the TVGN_FIRSTVISIBLE parameter.

Syntax

HTREEITEM SelectItem( 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::Select, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget, TVM_SELECTITEM