Share via


CMFCColorButton::SetColorName

Specifies the name of a color.

static void SetColorName(
   COLORREF color,
   const CString& strName 
);

Parameters

  • [in] color
    The color's RGB value.

  • [in] strName
    The color's name.

Remarks

The list of color names is global per application. Consequently, this method transfers its parameters to CMFCColorBar::SetColorName.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart