Spread 8.0 Documentation
SSGetOwner, SSSetOwner Functions
Support Options
DLL Reference > DLL Functions > SSGetOwner, SSSetOwner Functions

Glossary Item Box

SSGetOwner, SSSetOwner Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the owner window handle.

Syntax

C

HWND SSGetOwner(HWND hWnd);

HWND SSSetOwner(HWND hWnd, HWND hWndOwner);

C++

HWND TSpread::GetOwner( );

HWND TSpread::SetOwner(HWND hWndOwner);

Parameters

The SSGetOwner function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetOwner function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
hWndOwner New owner window handle
(Set this value to 0 to prevent messages from being sent to the parent or the owner.)

Remarks

All messages are sent to the owner of the fpSpread control. By default, the parent of the fpSpread control is the owner. The SSSetOwner function sets the owner of the fpSpread control to a window other than the parent.

Return Value

SSGetOwner: Current owner window handle.
SSSetOwner: Previous owner window handle.

See Also

SSGetCallBack, SSSetCallBack functions

ActiveX Correspondence

SSGetOwner: Parent property

Copyright © GrapeCity, inc. All rights reserved.