Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves the current text color.

COLORREF GetTextColor( ) const;

The current text color as an RGB color value.

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

Header: afxwin.h

© 2015 Microsoft