<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateChangedRowHeights

virtual void UpdateChangedRowHeights(ROWCOL nFromRow, ROWCOL nToRow, int* anOldHeights, 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 changing any column-widths.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateChangedRowHeights, 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::SetRowHeight CGXGridHint

CGXGridCore

Class Overview | Class Members