CMFCColorDialog::SetPageOne

Explicitly specifies the red, green, and blue components of a selected color on the first property page of a color dialog.

void SetPageOne(
   BYTE R,
   BYTE G,
   BYTE B 
);

Parameters

  • [in] R
    Specifies the red component of the RGB value.

  • [in] G
    Specifies the green component of the RGB value.

  • [in] B
    Specifies the blue component of the RGB value.

Requirements

Header: afxcolordialog.h

See Also

Reference

CMFCColorDialog Class

Hierarchy Chart