CGXControl::DrawBackground
virtual void DrawBackground(CDC* pDC, const CRect& rect, const CGXStyle& style, BOOL bErase = FALSE);?
pDC
Points to the device context.
rect
Specifies the cell rectangle.
style
A reference to the composed style of the cell.
bErase
Specifies if background needs to be erased. Normally, the background is drawn in CGXGridCore::OnDrawTopLeftBottomRight, but in special cases (e.g., when drawing a CWnd), the background must be erased.
Remarks
Draws the background and 3d-effects for the cell.