Spread 8.0 Documentation
SSClipboardCopy Function
Support Options
DLL Reference > DLL Functions > SSClipboardCopy Function

Glossary Item Box

SSClipboardCopy Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Copies the selected block of cells to the Clipboard.

Syntax

C

BOOL SSClipboardCopy(HWND hWnd);

C++

BOOL TSpread::ClipboardCopy(void);

Parameters

The following parameter is available:

Parameter Description
hWnd Window handle of the fpSpread control

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

The SSClipboardCopy, SSClipboardCut, and SSClipboardPaste functions use a tab-delimited text format for data transferred to and from the Clipboard. Only data is transferred to and from the Clipboard; cell properties, such as cell type or data formatting, are not copied, cut, or pasted.

If no cells are selected, the function copies the active cell.

By default, row headers can be included in Clipboard operations. You can change how row headers are handled in Clipboard operations by calling the SSSetClipboardOptions function.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

Copying Data Using the Clipboard

SSClipboardCut, SSClipboardPaste, SSGetClipboardOptions, SSSetClipboardOptions, SSSetSheet functions

ActiveX Correspondence

ClipboardCopy method

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.