CGXGridCore::CutRange
virtual BOOL CutRange(const CGXRangeList& selList, BOOL bStyleOrValue = TRUE);
BOOL CutRange(const CGXRange& range, BOOL bStyleOrValue = TRUE);
selList
A reference to range list.
range
A reference to a single range object.
bStyleOrValue
TRUE if you want to clear the whole style information for the cells; FALSE if you only want to empty the displayed value.
Return Value
TRUE if operation was performed successfully; FALSE if user aborted the operation.
Remarks
Copies the specified range of cells to the clipboard and clears all style information for the cells.
This method is called from CGXGridCore::Cut and will clear the specified cells.
The bStyleOrValue parameter is passed to ClearCells.
If you want to override this method, you must override only the virtual version of this method.
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. No action is performed.
END Control-Factory Specific
See Also
CGXGridCore::Cut CGXGridCore::ClearCells