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

CDC::GetTextColor

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

Show:
© 2015 Microsoft