TreeView_GetNextSelected macro

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

Syntax


HTREEITEM TreeView_GetNextSelected(
   HWND      hwnd,
   HTREEITEM *hitem
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

hitem

Type: HTREEITEM*

Specifies the tree item by handle.

Return value

Handle to an item, or NULL if no item is found with the TVGN_NEXTSELECTED relationship.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

See also

TVM_GETNEXTITEM

 

 

Show: