Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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