다음을 통해 공유


RB_SETTEXTCOLOR (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

RB_SETTEXTCOLOR wParam = 0; 
    lParam = (LPARAM)(COLORREF)clrText;

Parameters

  • wParam
    Not used.
  • clrText
    COLORREF value that represents the new default text color.

Return Value

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

Remarks

The rebar control's default text color is used to draw the text in a rebar control and all bands that are added after this message has been sent. The default text color for a particular band can be overridden by setting the RBBIM_COLORS flag in fMask and setting clrFore 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