BCGControlBar Pro for MFC
virtual void CBCGPChartLegendCell::OnDrawCustomCell ( CBCGPGraphicsManager pGM,
const CBCGPRect rectContent 

Called to draw custom cells (cells with LCT_CUSTOM style)

The default implementation displays a string passed to constructor or using SetCellText() method

Override this method in a derived class to display custom cell content. The rectContent parameter does not include cell padding.

pGMa pointer to a graphics manager
rectContentspecifies bounding rectangle of cell content