BCGControlBar Pro for MFC
virtual void CBCGPRibbonGalleryCtrl::OnDrawGalleryItem ( CDC *  pDC,
CRect  rect,
int  nIndex,
CBCGPRibbonPaletteIcon *  pIcon,
COLORREF  clr 
)
inlinevirtual

Called by the library when it needs to draw an owner draw item.

Override this method in a derived class to perform custom drawing.

Parameters
pDCA pointer to a device context.
rectBounding rectangle
nIndexItem index.
pIconPointer to icon.
clrText color.