다음을 통해 공유


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:

Value

Description

RBS_EX_SPLITTER

By default, show the splitter on the bottom in horizontal mode, and to the right in vertical mode.

RBS_EX_TRANSPARENT

Forward 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

Concepts

CDateTimeCtrl Class

CAnimateCtrl Members

Hierarchy Chart