Partager via


CTabCtrl::SetExtendedStyle

Sets the extended styles for a tab control.

DWORD SetExtendedStyle(
  DWORD dwNewStyle,
  DWORD dwExMask = 0 
);

Parameters

  • dwNewStyle
    Value specifying a combination of tab control extended styles.

  • dwExMask
    A DWORD value that indicates which styles in dwNewStyle 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 dwNewStyle will be affected.

Return Value

A DWORD value that contains the previous tab control extended styles, as described in the Windows SDK.

Return Value

This member function implements the behavior of the Win32 message TCM_SETEXTENDEDSTYLE, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CTabCtrl Class

CTabCtrl Members

Hierarchy Chart

CTabCtrl::GetExtendedStyle

CTabCtrl::CreateEx