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
UINT TreeView_GetIndent(
HWND hwnd
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
Return value
Type: UINT
Returns the amount of indentation.
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 |