![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The object returned must be destroyed by the
destroy object call.
Syntaxpublic static int CreateWNDFromHWND(
CGXNETCore gxNetShared,
IWin32Window p1
)
Public Shared Function CreateWNDFromHWND (
gxNetShared As CGXNETCore,
p1 As IWin32Window
) As Integer
public:
static int CreateWNDFromHWND(
CGXNETCore^ gxNetShared,
IWin32Window^ p1
)
static member CreateWNDFromHWND :
gxNetShared : CGXNETCore *
p1 : IWin32Window -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - p1
- Type: System.Windows.FormsIWin32Window
HWND Handle
Return Value
Type:
Int32x - WND object created
See Also