Compartir a través de


TCM_SETEXTENDEDSTYLE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

TabCtrl_SetExtendedStyle