共用方式為


CMFCColorPickerCtrl::SetPalette

Sets the current color palette.

void SetPalette(
   CPalette* pPalette 
);

Parameters

  • [in] pPalette
    Pointer to a color palette.

Remarks

The color palette defines the array of colors that is presented in the color picker control.

Requirements

Header: afxcolorpickerctrl.h

See Also

Reference

CMFCColorPickerCtrl Class

Hierarchy Chart

CPalette