共用方式為


CMFCColorButton::SetPalette

Specifies the standard colors to display on the popup color bar.

void SetPalette(
   CPalette* pPalette 
);

Parameters

  • [in] pPalette
    A pointer to a color palette.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart

CPalette Class