This message sets a rebar control’s default text color.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
RB_SETTEXTCOLOR wParam = 0;
lParam = (LPARAM)(COLORREF)clrText;
Parameters
clrText
COLORREF value that represents the new default text color.
Return Values
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.