  | CGUICreateWNDFromHWND Method  | 
 Create a standard WND object from an HWND.
 
    Namespace: 
   Geosoft.Desktop.GXNet
    Assembly:
   geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
Syntaxpublic static int CreateWNDFromHWND(
	IWin32Window p1
)
public static int CreateWNDFromHWND(
	IWin32Window p1
)
Public Shared Function CreateWNDFromHWND ( 
	p1 As IWin32Window
) As Integer
Public Shared Function CreateWNDFromHWND ( 
	p1 As IWin32Window
) As Integer
public:
static int CreateWNDFromHWND(
	IWin32Window^ p1
)
public:
static int CreateWNDFromHWND(
	IWin32Window^ p1
)
static member CreateWNDFromHWND : 
        p1 : IWin32Window -> int 
static member CreateWNDFromHWND : 
        p1 : IWin32Window -> int 
Parameters
- p1
 - Type: System.Windows.FormsIWin32Window
HWND Handle 
Return Value
Type: 
Int32x - WND object created
Remarks
The object returned must be destroyed by the
destroy object call.
See Also