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

Glossary Item Box

SSSetTypeCustom Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Initializes a cell type structure for custom cells.

Syntax

C

LPSS_CELLTYPE SSSetTypeCustom(HWND hWnd, LPSS_CELLTYPE lpCellType, LPCTSTR lpszName, long Style, LPCSS_CT_VALUE ItemData);

C++

LPSS_CELLTYPE TSpread::SetTypeCustom( LPSS_CELLTYPE lpCellType, LPCTSTR lpszName, long Style, LPCSS_CT_VALUE ItemData);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpCellType Pointer to structure to contain cell type information
Style Custom cell style
ItemData Item data information for cell

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 initializes a structure of the specified type (SS_CELLTYPE). You can use this structure to set an individual cell or block of cells using the SSSetCellType or SSSetCellTypeRange functions.

Return Value

Pointer to the SS_CELLTYPE structure, or NULL if any of the parameters are invalid.

See Also

Variations in Windows Regional Settings or Options
Creating Custom Cells

SSSetCellType, SSSetCellTypeRange, SSSetSheet, SSAddCustomCellType functions

ActiveX Correspondence

TypeCustomName, TypeCustomStyle properties

Copyright © GrapeCity, inc. All rights reserved.