CGXGridCore::UpdateFrozenRows

virtual void UpdateFrozenRows(ROWCOL nOldFrozenRows, ROWCOL nOldHeaderRows, UINT flags, BOOL bCreateHint = FALSE);?

nOldFrozenRows

Specifies the number of frozen rows before StoreFrozenRows has been called.

nOldHeaderRows

Specifies the number of rows to be used as column headers before StoreFrozenRows has been called.

flags

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

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which updates the window after freezing rows. The method simply calls Redraw.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateFrozenRows, m_nViewID);
   hint.nRow1 = nOldFrozenRows;
   hint.nRow2 = nOldHeaderRows;
   hint.flags = flags;

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

See Also

 CGXGridCore::SetFrozenRows  CGXGridCore::Redraw  CGXGridHint

CGXGridCore

 Class Overview |  Class Members