/
Window.SetCoordinates_Method(Object, Int32, Int32, Int32, Int32)
Window.SetCoordinates_Method(Object, Int32, Int32, Int32, Int32)
Sets the coordinates.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic (Declaration) |
---|
Public Function SetCoordinates ( _ sessionID As Object, _ x As Integer, _ y As Integer, _ cx As Integer, _ cy As Integer _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode SetCoordinates( Object^ sessionID, int x, int y, int cx, int cy ) sealed |
JavaScript |
---|
function SetCoordinates(sessionID, x, y, cx, cy); |
Parameters
sessionID
Type: System..Object
The session ID.
x
Type: System..Int32
X position of the top left corner of the window.
y
Type: System..Int32
Y position of the top left corner of the window.
cx
Type: System..Int32
Width of the window.
cy
Type: System..Int32
Height of the window.
Return Value
The return value is a StatusCode specifying the success or failure of the method.
Status code | Description |
---|---|
Ok | The method was successful. |
WHLLNOTCONNECTED | An invalid presentation space was specified, or was not connected for window services. |
WHLLPARAMETERERROR | An invalid option was specified. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLPSENDED | The session stopped. |
Implements
IWindow..::.SetCoordinates(Object, Int32, Int32, Int32, Int32)
Exceptions
Exception | Condition |
---|---|
System.Runtime.InteropServices..::.InvalidOleVariantTypeException | The sessionID object could not be converted to a valid one-character session ID, or the value was out of range. |
See Also
Window Class
SetCoordinates Overload
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.
, multiple selections available,
Related content
Window.SetCoordinates_Method(Object, WindowCoordinates)
Window.SetCoordinates_Method(Object, WindowCoordinates)
More like this
Window.SetCoordinates Method (Object, WindowCoordinates)
Window.SetCoordinates Method (Object, WindowCoordinates)
More like this
SetCoordinates Method (Object, WindowCoordinates)
SetCoordinates Method (Object, WindowCoordinates)
More like this
SetCoordinates.Method (Object, WindowCoordinates)
SetCoordinates.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
Window.GetCoordinates_Method(Object, WindowCoordinates)
Window.GetCoordinates_Method(Object, WindowCoordinates)
More like this