TVM_SETEXTENDEDSTYLE message

Informs the tree-view control to set extended styles. Send this message or use the macro TreeView_SetExtendedStyle.

Parameters

wParam

Mask used to select the styles to be set.

lParam

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

Return value

If this message succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h