Click or drag to resize
CGUIGetClientWindowArea Method
Get the location of the oasis montaj client window.

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

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Returns the coordinates of the client window area (where MDI document windows are placed). The returned coordinates are 0,0 for the minimum X and Y and the window width width and height for the maximum X and Y.
Syntax
public static void GetClientWindowArea(
	ref int i1,
	ref int i2,
	ref int i3,
	ref int i4
)

Parameters

i1
Type: SystemInt32
X Min returned (0)
i2
Type: SystemInt32
Y Min returned (0)
i3
Type: SystemInt32
X Max returned (width)
i4
Type: SystemInt32
Y Max returned (height)
See Also