RB_SETBKCOLOR message

Sets a rebar control's default background color.

Parameters

wParam
Must be zero.
lParam

COLORREF value that represents the new default background color.

Return value

Returns a COLORREF value that represents the previous default background color.

Remarks

The rebar control's default background color is used to draw the background in a rebar control and all bands that are added after this message has been sent. The default background color for a particular band can be overridden when a band is added or modified by setting the RBBIM_COLORS flag in fMask and setting clrBack in the REBARBANDINFO structure.

When visual styles are enabled, this message has no effect.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

RB_GETBKCOLOR

 

 

Community Additions

ADD
Show:
© 2014 Microsoft