Muokkaa

Jaa


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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

RB_GETBKCOLOR