CTreeCtrl::Select

This method selects the specified tree view item, scroll the item into view, or redraw the item in the style used to indicate the target of a drag-and-drop operation.

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 Select( HTREEITEM hItem, UINT nCode );

See Also

CTreeCtrl::SelectItem, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget