Dela via


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

Concepts

MFC Hierarchy Chart

Reference

CMFCColorBar Class

COLORREF