Click or drag to resize

WindowadoptWindow Method

Reparents the passed HWND with the current AppDesktop window.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public void adoptWindow(
	string hwnd,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

hwnd
Type: SystemString
The window handle to reparent.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also