Example
The following example shows how to return the coordinates of the top, bottom, left and right sides of the window rectangle associated with this connection.
' Create an lsxECLWinMetrics object associated with connection A
dim myWMetObj as new lsxECLWinMetrics("A")
' Create some variables to hold our window coordinates
dim left as Long
dim top as Long
dim right as Long
dim bottom as Long
' Get the window coordinates
myWMetObj.GetWindowRect left, top, right, bottom