TreeView_GetItemHeight macro (commctrl.h)

Retrieves the current height of the tree-view items. You can use this macro or send the TVM_GETITEMHEIGHT message explicitly.

Syntax

int TreeView_GetItemHeight(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

Handle to a tree-view control.

Return value

Type: int

Returns the height of the items, in pixels.

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

TreeView_SetItemHeight