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

Glossary Item Box

SSEnumCustomFunctionLen Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns the length of the next custom function name.

Syntax

C

int SSEnumCustomFunctionLen(HWND hWnd, LPCTSTR lpszPrevFunc);

C++

int TSpread::EnumCustomFunctionLen(LPCTSTR lpszPrevFunc);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpszPrevFunc Name of custom function from which to start searching for next custom function length

Remarks

This function is applied to the entire workbook, including all sheets in the control.

To find the length of the first custom function name, set the lpszPrevFunc parameter to NULL or an empty string. To find the length of the next custom function name, set the lpszPrevFunc parameter to the previous function name.

Use this function to return the length of the next custom function name. You can then call the SSEnumCustomFunction function to return the name.

Return Value

Length of next custom function name, not including the terminating NULL character.

See Also

SSAddCustomFunction, SSAddCustomFunctionExt, SSEnumCustomFunction, SSGetCustomFunction, SSRemoveCustomFunction functions

ActiveX Correspondence

EnumCustomFunction method

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