CMFCRibbonColorButton::SetColorName

Sets a new name for a specified color.

static void __stdcall 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 for all CMFCRibbonColorButton objects in the application.

Requirements

Header: afxribboncolorbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonColorButton Class