<< Return to Main Index

< Return to Class Index

CGXGridCore::StoreCopyCells

virtual BOOL StoreCopyCells(CGXRange rg, ROWCOL nRow, ROWCOL nCol);

rg

Specifies the source range of cells.

nRow

Specifies the destination row coordinates.

nCol

Specifies the destination column coordinate

Return Value

TRUE if the operation was successful ; FALSE otherwise

Remarks

Called from the CopyCells command to copy cells from source to dest. Cell references in formula expressions (unless marked as absolute range) will be adjusted. See CGXFormulaSheet.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementDirectCopyMoveCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method returns FALSE. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

CGXFormulaSheet::StoreCopyCells CGXGridCore::m_nClipboardFlags

CGXGridCore

Class Overview | Class Members