TCM_SETEXTENDEDSTYLE message

Sets the extended styles that the tab control will use. You can send this message explicitly or by using the TabCtrl_SetExtendedStyle macro.

Parameters

wParam

A DWORD value that indicates which styles in lParam are to be affected. Only the extended styles in wParam will be changed. All other styles will be maintained as they are. If this parameter is zero, then all of the styles in lParam will be affected.

lParam

Value specifying the extended tab control styles. This value is a combination of tab control extended styles.

Return value

Returns a DWORD value that contains the previous tab control extended styles.

Remarks

The wParam parameter allows you to modify one or more extended styles without having to retrieve the existing styles first. For example, if you pass TCS_EX_FLATSEPARATORS for wParam and 0 for lParam, the TCS_EX_FLATSEPARATORS style will be cleared, but all other styles will remain the same.

For backward compatibility reasons, the TabCtrl_SetExtendedStyle macro has not been updated to use dwExMask.

Requirements

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

See also

TCM_GETEXTENDEDSTYLE