<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::GetUpdateFlag

virtual BOOL GetUpdateFlag(ROWCOL nRow, ROWCOL nCol);

nRow

Specifies the grid row of the cell.

nCol

Specifies the grid column of the cell.

Return Value

TRUE if the cell has been marked as updated and needs to be refreshed; FALSE if the cell is unchanged.

Remarks

Checks if the given cell needs to be redrawn (e.g. if formula result has been changed). CGXGridCore::RefreshViews checks GetUpdateFlag for all visible and refreshes them if GetUpdateFlag returns TRUE.

See Also

CGXGridCore::RefreshViews

CGXFormulaSheet

Class Overview | Class Members