Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


Sets the coordinates.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public StatusCode SetCoordinates(
	Object sessionID,
	int x,
	int y,
	int cx,
	int cy
)
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..::.ObjectThe session ID.

x Type: System..::.Int32X position of the top left corner of the window.

y Type: System..::.Int32Y position of the top left corner of the window.

cx Type: System..::.Int32Width of the window.

cy Type: System..::.Int32Height of the window.

Return Value

The return value is a StatusCode specifying the success or failure of the method.

Status codeDescription
OkThe method was successful.
WHLLNOTCONNECTEDAn invalid presentation space was specified, or was not connected for window services.
WHLLPARAMETERERRORAn invalid option was specified.
WHLLSYSERRORThe method failed due to a system error.
WHLLPSENDEDThe session stopped.

Implements

IWindow..::.SetCoordinates(Object, Int32, Int32, Int32, Int32)

Exceptions


ExceptionCondition
System.Runtime.InteropServices..::.InvalidOleVariantTypeExceptionThe 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.



  • No labels