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.
virtual void OnDrawRibbonColorPaletteBox(
   CDC* pDC,
   CMFCRibbonColorButton* pColorButton,
   CMFCRibbonGalleryIcon* pIcon,
   COLORREF color,
   CRect rect,
   BOOL bDrawTopEdge,
   BOOL bDrawBottomEdge,
   BOOL bIsHighlighted,
   BOOL bIsChecked,
   BOOL bIsDisabled
);
Parameters
- [in] pDC 
 
- [in] pColorButton 
 
- [in] pIcon 
 
- [in] color 
 
- [in] rect 
 
- [in] bDrawTopEdge 
 
- [in] bDrawBottomEdge 
 
- [in] bIsHighlighted 
 
- [in] bIsChecked 
 
- [in] bIsDisabled 
 
Requirements
Header: afxvisualmanager.h