CMFCColorDialog::SetNewColor
Sets the current color to the color in the current palette that is most similar.
void SetNewColor(
COLORREF rgb
);
Parameters
- [in] rgb
A COLORREF that specifies an RGB color.
Requirements
Header: afxcolordialog.h