共用方式為


CMFCColorButton::SetColor

Specifies the color of the button.

void SetColor(
   COLORREF color 
);

Parameters

  • [in] color
    An RGB value.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart