This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
CMFCRibbonColorButton();
CMFCRibbonColorButton(
   UINT nID,
   LPCTSTR lpszText,
   int nSmallImageIndex,
   COLORREF color = RGB(0,
    0,
    0)
);
CMFCRibbonColorButton(
   UINT nID,
   LPCTSTR lpszText,
   BOOL bSimpleButtonLook,
   int nSmallImageIndex,
   int nLargeImageIndex,
   COLORREF color = RGB(0,
    0,
    0)
);
Parameters
- [in] nID 
 
- [in] lpszText 
 
- [in] nSmallImageIndex 
 
- [in] color 
 
- [in] 0 
 
- [in] 0) 
 
- [in] bSimpleButtonLook 
 
- [in] nLargeImageIndex 
 
Requirements
Header: afxribboncolorbutton.h