Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/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 |
| Windows Mobile | Windows Mobile Version 5.0 and later |