Compartilhar via


RB_SETBKCOLOR (Windows CE 5.0)

Send Feedback

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

RB_SETBKCOLOR wParam= 0;lParam = (LPARAM)(COLORREF)clrBk;

Parameters

  • wParam
    Not used.
  • clrBk
    COLORREF value that represents the new default background color.

Return Values

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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

COLORREF | REBARBANDINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.