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.
HTREEITEM SelectItem( HTREEITEM hItem );
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CTreeCtrl::Select, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget, TVM_SELECTITEM