This topic has not yet been rated - Rate this topic

CMFCRibbonColorButton::SetColorName

Sets a new name for a specified color.

static void __stdcall SetColorName(
   COLORREF color,
   const CString& strName
);
[in] color

The RGB value of a color.

[in] strName

The new name for the specified color.

Because it calls CMFCColorBar::SetColorName, this method changes the name of the specified color in all CMFCColorBar objects in your application.

Header: afxribboncolorbutton.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.