| CGUICreateWNDFromHWND Method |
Create a standard WND object from an HWND.
Available since Oasis montaj version: 5.0.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.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The object returned must be destroyed by the
destroy object call.
Syntax public static int CreateWNDFromHWND(
IWin32Window w1
)
Public Shared Function CreateWNDFromHWND (
w1 As IWin32Window
) As Integer
public:
static int CreateWNDFromHWND(
IWin32Window^ w1
)
static member CreateWNDFromHWND :
w1 : IWin32Window -> int
Parameters
- w1
- Type: System.Windows.FormsIWin32Window
HWND Handle
Return Value
Type:
Int32x - WND object created
See Also