Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message sets a rebar control's default background color.

Syntax

RB_SETBKCOLOR 
wParam = 0; 

lParam = (LPARAM)(COLORREF)
clrBk;

Parameters

wParam

Not used.

clrBk

COLORREFvalue that represents the new default background color.

Return Value

Returns a COLORREFvalue 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 by setting the RBBIM_COLORS flag in fMaskand setting clrBackin the REBARBANDINFOstructure when a band is added or modified.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also