This member function sets the text color to the specified color. The system will use this text color when writing text to this device context, and also when converting bitmaps between color and monochrome device contexts.
virtual COLORREF SetTextColor( COLORREF crColor );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::GetTextColor, CDC::BitBlt, CDC::SetBkColor, CDC::SetBkMode