<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::StoreMoveCells

virtual BOOL StoreMoveCells(CGXRange rg, ROWCOL nRow, ROWCOL nCol, CObject*& pUndoInfo, BOOL bCreateUndoInfo, int ctCmd);

rg

Specifies the source range of cells.

nRow

Specifies the destination row coordinates.

nCol

Specifies the destination column coordinate

pUndoInfo

A reference to a pointer that will receive undo information generated by the formula engine.

bCreateUndoInfo

TRUE if undo information should be created in the formula engine.

ctCmd

Contains the ctCmd setting of the calling method (see CGXGridCore::MoveCells).

Return Value

TRUE if the operation was successful ; FALSE otherwise

Remarks

Moves cells from a given source range to a new destination, e.g. when the user performs a cut/paste operation. Cell references in formula expressions that depend on cells in the moved range will be adjusted.

Effects of Moving Cells

See Also

CGXGridCore::MoveCells CGXGridCore::m_nClipboardFlags

CGXFormulaSheet

Class Overview | Class Members