BCGControlBar Pro for MFC
virtual void CBCGPChartLegendEntry::OnDrawGridLines ( CBCGPGraphicsManager pGM,
const CBCGPRect rect 
)
virtual

Called to draw grid lines around cells

You can override this method in a derived class to customize drawing of grid lines. The default implementation loops over encapsulated cells and draws their borders. A bounding rectangle of next cell should be based on the "rect" parameter and previous cell sizes. For vertical layout the width of each cell is taken from CBCGPChartLegendVisualObject::GetColumnWidth, for horizontal layout - from CBCGPChartLegendCell::GetSize.

Parameters
pGMa pointer to a graphics manager
rectspecifies a bounding rectangle of an entry