Spread 8.0 Documentation
SSGetCallBack, SSSetCallBack Functions
Support Options
DLL Reference > DLL Functions > SSGetCallBack, SSSetCallBack Functions

Glossary Item Box

SSGetCallBack, SSSetCallBack Functions


See Also

Applies To

fpSpread DLL control

Description

Set or return the optional callback function to use to receive all fpSpread control messages.

Syntax

C

WNDPROC SSGetCallBack(HWND hWnd);

WNDPROC SSSetCallBack(HWND hWnd, WNDPROC lpfnCallBack);

C++

WNDPROC TSpread::GetCallBack(void);

WNDPROC TSpread::SetCallBack(WNDPROC lpfnCallBack);

Parameters

The SSGetCallBack function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetCallBack function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
lpfnCallBack Callback function

Remarks

If the SSSetOwner function specifies an owner, both the owner and the callback function receive all Spread control messages. To let only the callback function receive messages from the fpSpread control, provide a window handle of 0 for the SSSetOwner function.

You might want only the callback function to receive messages when you are monitoring events for debugging purposes.

Return Value

SSGetCallBack: Current callback procedure.
SSSetCallBack: Previous callback procedure.

See Also

SSSetOwner function

Copyright © GrapeCity, inc. All rights reserved.