CGXData::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

Duplicates the given source range of cells and places the cells at the destination location. Typically StoreCopyCells will be called as a result of a clipboard copy or ole drag&drop. Cells formulas are duplicated (along with all formatting) and placed in a new location, overwriting existing data in the destination range.

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 CGXData::ImplementCopyMoveCells method from within the control factory class' InitializeApplicationComponents 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

 CGXGridCore::CopyCells  CGXGridCore::m_nClipboardFlags

CGXData

 Class Overview |  Class Members