Share via


CMFCColorMenuButton::SetColorName

Sets a new name for the specified color.

static void SetColorName(
   COLORREF color,
   const CString& strName 
);

Parameters

  • [in] color
    The RGB value of the color whose name changes.

  • [in] strName
    The new name of the color.

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart

COLORREF