BCGControlBar Pro for MFC
virtual void CBCGPRibbonPaletteButton::OnDrawPaletteIcon ( CDC *  pDC,
CRect  rectIcon,
int  nIconIndex,
CBCGPRibbonPaletteIcon *  pIcon,
COLORREF  clrText 
)
protectedvirtual

Called by the framework when it needs to draw a pallete (gallery) icon.

Override this method in a derived class to customize appearance of palette (gallery) icons.

Parameters
pDCA pointer to a device context.
rectIconSpecifies the icon bounding rectangle.
nIconIndexSpecifies the zero-based icon index in the image list of palette icons.
pIconA pointer to icon item.
clrTextSpecifies text color of item description.