BCGSuite for MFC
virtual CRect CBCGPGridCtrl::OnGetHeaderRect ( CDC *  pDC,
const CRect &  rectDraw 
)
protectedvirtual

Called by the framework when it needs to calculate the bounding rectangle of the grid header.

Returns
Returns the bounding rectangle of the grid header. Returns empty rectangle when the grid header is hidden.

Called by the framework when it needs to calculate the bounding rectangle of the grid header.

Parameters
pDCPointer to a device context
rectDrawThe bounding rectangle of visible area of grid header.