CGXGridCore::OnDrawItem

virtual void OnDrawItem(CDC* pDC, ROWCOL nRow, ROWCOL nCol, const CRect& rectDraw, const CGXStyle& style);?

pDC

A pointer to the device context.

nRow

Specifies the row id.

nCol

Specifies the column id.

rectDraw

Specifies the window rectangle for the cell to be drawn.

style

A reference to the composed style of the cell.

Remarks

Overridable method which draws an individual cell by calling the associated control’s Draw-method. The cell style is determined with LookupStyleRowCol.

The control is determined with GetControl.

See Also

 CGXControl  CGXGridCore::LookupStyleRowCol  CGXGridCore::GetControl

CGXGridCore

 Class Overview |  Class Members