CTreeCtrl::SelectSetFirstVisible

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.

At a Glance

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

Syntax

HTREEITEM SelectItem( HTREEITEM hItem );

See Also

CTreeCtrl::Select, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget, TVM_SELECTITEM