CMFCColorBar::SetColorName

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

See Also

Reference

CMFCColorBar Class

Hierarchy Chart

COLORREF