This member function retrieves the solid color that best matches a specified logical color. The given device must be able to represent this color.
COLORREF GetNearestColor( COLORREF crColor ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDC Overview, CDC Member Functions, Graphical Drawing Classes