SSGetCallBack, SSSetCallBack Functions
Applies To
fpSpread DLL control
Description
Set or return the optional callback function to use to receive all fpSpread control messages.
Syntax
WNDPROC SSGetCallBack(HWND hWnd);
WNDPROC SSSetCallBack(HWND hWnd, WNDPROC lpfnCallBack);
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