TreeView_GetNextSibling macro (commctrl.h)

Retrieves the next sibling item of a specified item in a tree-view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_NEXT flag.

Syntax

void TreeView_GetNextSibling(
   hwnd,
   hitem
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

hitem

Type: HTREEITEM

Handle to an item.

Return value

None

Requirements

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

See also

Reference

TreeView_GetChild

TreeView_GetNextItem

TreeView_GetParent

TreeView_GetPrevSibling