<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateCoveredCellsRowCol

virtual void UpdateCoveredCellsRowCol(ROWCOL nRow, ROWCOL nCol, ROWCOL nOldToRow, ROWCOL nOldToCol, UINT flags, BOOL bCreateHint = FALSE);?

nRow

Specifies the row id for the cell.

nCol

Specifies the column id for the cell.

nOldToRow

Specifies the old value for the last row to cover before StoreCoveredCellsRowCol has been called.

nOldToCol

Specifies the old value for the last column to cover before StoreCoveredCellsRowCol has been called.

flags

Specifies the update technique. This parameter is passed to RedrawRowCol.

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which redraws the area covered both by the new and the old range.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateCoveredCellsRowCol, m_nViewID);
   hint.nRow1 = nRow;
   hint.nCol1 = nCol;
   hint.nRow2 = nOldToRow;
   hint.nCol2 = nOldToCol;
   hint.flags = flags;

You can override this method if you need to change the hint.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementCoveredCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method performs no action.

END Control-Factory Specific

See Also

CGXGridCore::SetCoveredCellsRowCol CGXGridCore::RedrawRowCol CGXGridHint

CGXGridCore

Class Overview | Class Members