CGXGridCore::OnPasteDirect

virtual BOOL OnPasteDirect(const CGXRange& range);

range

Holds the currently selected range of cells in the grid.

Remarks

CGXGridCore::Paste will call OnPasteDirect when direct copy/paste is enabled and the user has marked cells in the grid to be copied. OnPasteDirect will call MoveCells or CopyCells to copy/move the cells. When using the formula engine direct copy/paste will also update all cells with formulas that have references to the moved cells.

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 ImplementCutPaste 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

 CGXGridCore::MoveCells  CGXGridCore::CopyCells

CGXGridCore

 Class Overview |  Class Members