TreeView_SetExtendedStyle macro
Sets the extended style for a specified TreeView control. Use this macro or send the TVM_SETEXTENDEDSTYLE message explicitly.
Syntax
HRESULT TreeView_SetExtendedStyle( HWND hwnd, DWORD dw, UINT 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
Type: HRESULT
If this macro succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
Show: