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.
Sets a new name for a specified color.
static void SetColorName(
   COLORREF color,
   const CString& strName 
);
Parameters
- [in] color 
 The RGB value of a color.
- [in] strName 
 The new name for the specified color.
Remarks
This method changes the name of the specified color in all CMFCColorBar objects in your application.
Requirements
Header: afxcolorbar.h