<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateRemoveRows

virtual void UpdateRemoveRows(ROWCOL nFromRow, ROWCOL nToRow, int* anOldHeights = NULL, UINT flags, BOOL bCreateHint = FALSE);?

nFromRow

Specifies the first row id.

nToRow

Specifies the last row id.

anOldHeights

Points to an array with the row-heights before they have been changed with StoreRowHeight.

flags

GX_INVALIDATE simply invalidates the window area below nFromRow.

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which updates the window after removing rows.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateRemoveRows, m_nViewID);
   hint.nRow1 = nFromRow;
   hint.nRow2 = nToRow;
   hint.vptr  = anOldHeights;
   hint.flags = flags;

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

See Also

CGXGridCore::MoveRows CGXGridHint

CGXGridCore

Class Overview | Class Members