Partager via


RB_SETBKCOLOR (Windows Embedded CE 6.0)

1/6/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
    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 by setting the RBBIM_COLORS flag in fMask and setting clrBack in the REBARBANDINFO structure when a band is added or modified.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Rebar Controls Messages
COLORREF
REBARBANDINFO