TreeView_GetItemHeight macro

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 hwndTV
);

Parameters

hwndTV

Type: HWND

Handle to a tree-view control.

Return value

Returns the height of the items, in pixels.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

TreeView_SetItemHeight

 

 

Show: