CDC::GetTextColor

Retrieves the current text color.

COLORREF GetTextColor( ) const;

Return Value

The current text color as an RGB color value.

Remarks

The text color is the foreground color of characters drawn by using the GDI text-output member functions TextOut, ExtTextOut, and TabbedTextOut.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::GetBkColor

CDC::GetBkMode

CDC::SetBkMode

CDC::SetTextColor

GetTextColor