CMFCColorDialog::SetCurrentColor

Sets the current color of the dialog box.

void SetCurrentColor(
   COLORREF rgb 
);

Parameters

  • [in] rgb
    An RGB color value

Requirements

Header: afxcolordialog.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCColorDialog Class