Click or drag to resize

WindoworphanWindow Method

Unparents the window identified by HWND and moves it to left, top.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void orphanWindow(
	string hwnd,
	int left,
	int top,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

hwnd
Type: SystemString
The child window handle to orphan and move.
left
Type: SystemInt32
The new left position of the window.
top
Type: SystemInt32
The new top position of the window.
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