CGXGridCore::CopyCells
virtual BOOL CopyCells(CGXRange rg, ROWCOL nRow, ROWCOL nCol, UINT flags = GX_UPDATENOW);
rg
Specifies the source range of cells.
nRow
Specifies the destination row coordinates.
nCol
Specifies the destination column coordinate
flags
-
Specifies the update technique:
- GX_UPDATENOW - updates the window immediately.
GX_INVALIDATE - invalidates the window.
Return Value
TRUE if the operation was successful; FALSE otherwise
Remarks
Command for copying cells from source to dest. Cell references in formula expressions (unless marked as absolute range) will be adjusted.
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::StoreCopyCellsCGXGridCore::OnPasteDirectCGXGridParam::m_bDirectCopyPaste