This method scrolls the tree view vertically so the specified item is the first visible item. The method sends a TVM_SELECTITEM message to the window with the TVGN_FIRSTVISIBLE flag.
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 |
HTREEITEM SelectItem( HTREEITEM hItem );
CTreeCtrl::Select, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget, TVM_SELECTITEM