<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateFrozenCols

virtual void UpdateFrozenCols(ROWCOL nOldFrozenCols, ROWCOL nOldHeaderCols, UINT flags, BOOL bCreateHint = FALSE);?

nOldFrozenCols

Specifies the number of frozen columns before StoreFrozenCols has been called.

nOldHeaderCols

Specifies the number of columns to be used for row headers before StoreFrozenCols 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 columns. The method simply calls Redraw.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateFrozenCols, m_nViewID);
   hint.nCol1 = nOldFrozenCols;
   hint.nCol2 = nOldHeaderCols;
   hint.flags = flags;

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

See Also

CGXGridCore::SetFrozenCols CGXGridCore::Redraw CGXGridHint

CGXGridCore

Class Overview | Class Members