Click or drag to resize
CGUICreateWNDFromHWND Method
Create a standard WND object from an HWND.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The object returned must be destroyed by the destroy object call.
Syntax
public static int CreateWNDFromHWND(
	CGXNETCore gxNetShared,
	IWin32Window p1
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
p1
Type: System.Windows.FormsIWin32Window
HWND Handle

Return Value

Type: Int32
x - WND object created
See Also