Gdi::SetTextColor_I (Windows Embedded CE 6.0)
1/6/2010
This method sets the text color of the specified device context to the specified color.
Syntax
static WINGDIAPI COLORREF WINAPI SetTextColor_I(
HDC hdc,
COLORREF crColor
);
Parameters
- hdc
[in] Handle to the device context.
- crColor
[in] COLORREF value that specifies the color of the text.
Return Value
A color reference for the previous text color indicates success.
CLR_INVALID indicates failure.
To get extended error information, call GetLastError.
Remarks
This method is an internal version of the SetTextColor function.
The text color is used to draw the face of each character written by the Gdi::ExtTextOutW_I method. The text color is also used in converting bitmaps from color to monochrome and vice versa.
Requirements
Header | gdi.hpp |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Gdi
Gdi::BitBlt_I
Gdi::ExtTextOutW_I
Gdi::SetBkColor_I
Gdi::StretchBlt_I
RGB