Export (0) Print
Expand All


Specifies the name of a color.

static void SetColorName(
   COLORREF color,
   const CString& strName 

[in] color

The color's RGB value.

[in] strName

The color's name.

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

Header: afxcolorbutton.h

© 2014 Microsoft