SSEnumCustomFunctionLen Function
Applies To
fpSpread DLL control
Description
Returns the length of the next custom function name.
Syntax
int SSEnumCustomFunctionLen(HWND hWnd, LPCTSTR lpszPrevFunc);
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