RB_SETTEXTCOLOR message

Sets a rebar control's default text color.

Parameters

wParam

Must be zero.

lParam

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

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_GETTEXTCOLOR