TreeView_GetIndent macro (commctrl.h)

Retrieves the amount, in pixels, that child items are indented relative to their parent items. You can use this macro or send the TVM_GETINDENT message explicitly.

Syntax

void TreeView_GetIndent(
   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