/
GetCoordinates (Method)

GetCoordinates (Method)

 


 

IWindow::GetCoordinates

Retrieve the window coordinates for a session.

 

Function GetCoordinates(Session As String, coord As WindowCoordinates) As Long
 


Parameters

NoNameTypeOptionalDefaultDescription
1SessionStringNo-

One character session ID

2

coord

WindowCoordinates

No

-

Structure to receive the window coordinates

Return Code

Description

JGS_OK

The function was successful

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_MEMORY

Insufficient memory

JGS_NOTCONNECTED

Your application is not currently connected to a valid session

JGS_PSENDED

The session was stopped

JGS_UNAVAILABLE

The session is in use by another application

JGS_SYSERROR

The function failed due to a system error


Sample Code


 

Dim mySession as String
Dim result as Long
Dim coords as WindowCoordinates
mySession = "E"
result = win.GetCoordinates(mySession, coords)

 


 

Back to IWindow members



QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.



Related content

GetCoordinates_(Method)
GetCoordinates_(Method)
More like this
VBS_GetCoordinates (Method)
VBS_GetCoordinates (Method)
More like this
VBS_GetCoordinates_(Method)
VBS_GetCoordinates_(Method)
More like this
SetCoordinates (Method)
SetCoordinates (Method)
More like this
IWindow.GetCoordinates Method (Object, WindowCoordinates)
IWindow.GetCoordinates Method (Object, WindowCoordinates)
More like this
IWindow.GetCoordinates Method (Object, Int32, Int32, Int32, Int32)
IWindow.GetCoordinates Method (Object, Int32, Int32, Int32, Int32)
More like this