Spread 8.0 Documentation
SSGetCustomItemData, SSSetCustomItemData Functions
Support Options
DLL Reference > DLL Functions > SSGetCustomItemData, SSSetCustomItemData Functions

Glossary Item Box

SSGetCustomItemData, SSSetCustomItemData Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return item data for a custom cell.

Syntax

C

BOOL SSGetCustomItemData(HWND hWnd, SS_COORD CellCol, SS_COORD CellRow, LPSS_CT_VALUE ItemData);

BOOL SSSetCustomItemData(HWND hWnd, SS_COORD CellCol, SS_COORD CellRow, LPSS_CT_VALUE ItemData);

C++

BOOL TSpread::GetCustomItemData(SS_COORD CellCol, SS_COORD CellRow, LPSS_CT_VALUE ItemData);

BOOL TSpread::SetCustomItemData(SS_COORD CellCol, SS_COORD CellRow, LPSS_CT_VALUE ItemData);

Parameters

The SSGetCustomItemData function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
CellCol Column number of cell
CellRow Row number of cell
ItemData Item data for cell (SS_CT_VALUE structure)

The SSSetCustomIemData function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
CellCol Column number of cell
CellRow Row number of cell
ItemData Item data for cell (SS_CT_VALUE structure)

Remarks

Use this function to add extra information to a cutom cell. Use the SS_CT_VALUE structure to provide information about the type of data. The ItemData parameter should be one of the following types (empty, TSTR, double, long, buffer).

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

SSAddCustomCellType function

ActiveX Correspondence

TypeCustomItemData method

Copyright © GrapeCity, inc. All rights reserved.