Share via


CReBarCtrl::SetExtendedStyle

Sets the extended styles for the current rebar control.

DWORD SetExtendedStyle(
      DWORD dwMask, 
      DWORD dwStyleEx
);

Parameters

Parameter

Description

[in] dwMask

A bitwise combination (OR) of flags that specify which flags in the dwStyleEx parameter apply. Use one or more of the following values:

ValueDescription
RBS_EX_SPLITTERBy default, show the splitter on the bottom in horizontal mode, and to the right in vertical mode.
RBS_EX_TRANSPARENTForward the WM_ERASEBKGND message to the parent window.

[in] dwStyleEx

A bitwise combination (OR) of flags that specify the styles to apply. To set a style, specify the same flag that is used in the dwMask parameter. To reset a style, specify binary zero.

Return Value

The previous extended style.

Remarks

This method sends the RB_SETEXTENDEDSTYLE message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This method is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CDateTimeCtrl Class

Hierarchy Chart

Other Resources

CAnimateCtrl Members