Share via


TCM_SETEXTENDEDSTYLE (Compact 2013)

3/28/2014

This message sets the extended styles that the tab control will use.

Syntax

TCM_SETEXTENDEDSTYLE wParam = (WPARAM)dwExMask;
    lParam = (LPARAM)dwExStyle;

Parameters

  • dwExMask
    Specifies which styles in dwExStyle are to be affected. Only the extended styles in dwExMask will be changed. All other styles will be maintained as is. If this parameter is zero, then all of the styles in dwExStyle will be affected.
  • dwExStyle
    Specifies the extended tab control styles. This value is a combination of Tab Control extended styles.
  • dwExMask
    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 dwExMask and 0 for dwExStyle, 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.

Return Value

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

Requirements

Header

commctrl.h

See Also

Reference

Tab Controls Messages
TabCtrl_SetExtendedStyle