TreeView_GetFirstVisible macro (commctrl.h)

Retrieves the first visible item in a tree-view control window. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_FIRSTVISIBLE flag.

Syntax

void TreeView_GetFirstVisible(
   hwnd
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

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

TVM_GETITEMRECT

TreeView_GetLastVisible

TreeView_GetNextVisible

TreeView_GetPrevVisible