SSQueryCustomNameLen Function
Applies To
fpSpread DLL control
Description
Returns the length of the next custom name.
Syntax
C
int SSQueryCustomNameLen(HWND hWnd, LPCTSTR lpszPrevName);
C++
int TSpread::QueryCustomNameLen(LPCTSTR lpszPrevName);
Parameters
The following parameters are available:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
lpszPrevName | Pointer to the previous custom name |
Remarks
This function is applied to the entire workbook, including all sheets in the control.
This function returns the length of a custom name.
You can define custom names to represent information in the control. For example, a custom name can represent a cell, a cell range, or a computed value. Use the SSSetCustomName function to define a custom name that can then be used in formulas.
Return Value
Length of the next custom name.
See Also
SSGetCustomName, SSGetCustomNameLen, SSQueryCustomName, SSSetCustomName functions