TreeView_GetExtendedStyle macro (commctrl.h)

Retrieves the extended style for a specified tree-view control. Use this macro or send the TVM_GETEXTENDEDSTYLE message explicitly.

Syntax

DWORD TreeView_GetExtendedStyle(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

Return value

Type: DWORD

Returns the value of extended style. For more information on styles, see Tree-View Control Extended Styles.

Remarks

The extended styles for a tree-view control have nothing to do with the extended styles used with function CreateWindowEx or function SetWindowLong.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h