CDC::SetTextColor

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.

Syntax

virtual COLORREF SetTextColor( COLORREF crColor );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::GetTextColor, CDC::BitBlt, CDC::SetBkColor, CDC::SetBkMode