CGXGridCore::RedrawRowCol

virtual void RedrawRowCol(ROWCOL nStartRow, ROWCOL nStartCol, ROWCOL nEndRow, ROWCOL nEndCol, UINT flags = GX_UPDATENOW, BOOL bCreateHint = TRUE);

void RedrawRowCol(ROWCOL nRow, ROWCOL nCol, UINT flags = GX_UPDATENOW, BOOL bCreateHint = TRUE);

void RedrawRowCol(const CGXRange& range, UINT flags = GX_UPDATENOW, BOOL bCreateHint = TRUE);

nStartRow

Specifies the first row.

nStartColt

Specifies the first column.

nEndRow

Specifies the last row.

nEndCol

Specifies the last column.

nRow

Specifies the row id.

nCol

Specifies the column id.

range

Specifies the range of cells.

flags

  • Specifies the update technique.

  • GX_UPDATENOW specifies to call UpdateWindow after invalidating the window.

GX_INVALIDATE and GX_SMART specify to simply invalidate the area.

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which redraws the specified range of cells.

The method creates the following hint:

      CGXGridHint hint(gxHintRedrawRowCol, m_nViewID);
      hint.nRow1 = nStartRow;
      hint.nCol1 = nStartCol;
      hint.nRow2 = nEndRow;
      hint.nCol2 = nEndCol;
      hint.flags = flags;

See Also

 CGXGridCore::Redraw  CGXGridCore::LockUpdate

CGXGridCore

 Class Overview |  Class Members