BCGControlBar Pro for MFC
virtual void CBCGPChartLegendCell::OnDraw ( CBCGPGraphicsManager pGM,
const CBCGPRect rect 
)
virtual

Called to render cell content

Override this method in a derived class to customize cell appearance. If you don't call the base class and/or modify "rect" parameter, you must store the cell's bounding rectangle in client coordinates in m_rectHit protected member. It's used later for hit testing.

Parameters
pGMa pointer to a graphics manager
rectspecifies cell bounding rectangle