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

Glossary Item Box

SSEnumCustomCellTypeLen Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns the length of the next custom cell type name.

Syntax

C

int SSEnumCustomCellTypeLen(HWND hWnd, LPCTSTR lpszPrevName);

C++

int TSpread::EnumCustomCellTypeLen(LPCTSTR lpszPrevName);

Parameters

The following parameters are available:

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

Remarks

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

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

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

Return Value

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

See Also

SSAddCustomCellType, SSEnumCustomCellType, SSGetCustomCellType, SSRemoveCustomCellType functions

ActiveX Correspondence

EnumCustomCellType method

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