共用方式為


CMFCColorBar::SetColor

Sets the color that is currently selected.

void SetColor(
   COLORREF color 
);

Parameters

  • [in] color
    An RGB color value.

Requirements

Header: afxcolorbar.h

See Also

Reference

CMFCColorBar Class

Hierarchy Chart

COLORREF