TCM_SETEXTENDEDSTYLE

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

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 Values

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

TabCtrl_SetExtendedStyle

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.