TreeView_SetExtendedStyle macro (commctrl.h)

Sets the extended style for a specified TreeView control. Use this macro or send the TVM_SETEXTENDEDSTYLE message explicitly.

Syntax

void TreeView_SetExtendedStyle(
   hwnd,
   dw,
   mask
);

Parameters

hwnd

Type: HWND

Handle to the TreeView control.

dw

Type: DWORD

Value that indicates the extended style. For more information on styles, see Tree-View Control Extended Styles.

mask

Type: UINT

Mask used to select the styles to be set.

Return value

None

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