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

Glossary Item Box

SSGetSelText Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns a handle to the selected text.

Syntax

C

HGLOBAL SSGetSelText(HWND hWnd);

C++

GLOBALHANDLE TSpread::GetSelText( );

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.

This function works only when the fpSpread control is in edit mode.

Return Value

Global handle to the selected text; 0 if no text is selected.

See Also

SSGetEditMode, SSGetSel, SSSetEditMode, SSSetSel, SSSetSheet functions

ActiveX Correspondence

SelText property

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