TreeView_GetNextSelected macro (commctrl.h)

Retrieves the tree-view item that bears the TVGN_NEXTSELECTED relationship to a specified tree item.

Syntax

void TreeView_GetNextSelected(
   hwnd,
   hitem
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

hitem

Type: HTREEITEM*

Specifies the tree item by handle.

Return value

None

Remarks

Used to find the next selected item when there are multiple items selected.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

TVM_GETNEXTITEM