CDC::SetTextColor

This method 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.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual COLORREF SetTextColor( COLORREF crColor );

See Also

CDC::GetTextColor, CDC::BitBlt, CDC::SetBkColor, CDC::SetBkMode