共用方式為


CMFCColorPickerCtrl::SetOriginalColor

Sets the initial selected color.

void SetOriginalColor(
   COLORREF ref 
);

Parameters

  • [in] ref
    An RGB color value.

Remarks

Call this method when the color picker control is initialized.

Requirements

Header: afxcolorpickerctrl.h

See Also

Reference

CMFCColorPickerCtrl Class

Hierarchy Chart

COLORREF