CTreeCtrl::Select

Call this member function to select the given 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.

Syntax

HTREEITEM Select( HTREEITEM hItem, UINT nCode );

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::SelectItem, CTreeCtrl::GetSelectedItem, CTreeCtrl::SelectDropTarget