...
Sets the window status and position.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public StatusCode SetStatus( Object sessionID, int status, int x, int y, int width, int height, int zorder ) |
Visual Basic (Declaration) |
---|
Public Function SetStatus ( _ sessionID As Object, _ status As Integer, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ zorder As Integer _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode SetStatus( Object^ sessionID, int status, int x, int y, int width, int height, int zorder ) sealed |
JavaScript |
---|
function SetStatus(sessionID, status, x, y, width, height, zorder); |
Parameters
sessionID
Type: System..::.ObjectThe Object
The session ID.
status
Type: System..::.Int32The Int32
The status.
x
Type: System..::.Int32The Int32
The x position of the window.
y
Type: System..::.Int32The Int32
The y position of the window.
width
Type: System..::.Int32The Int32
The width of the window.
height
Type: System..::.Int32The Int32
The height of the window.
zorder
Type: System..::.Int32The Int32
The z-order 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 ID 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 has stopped. |
Implements
IWindow..::.SetStatus(Object, Int32, Int32, 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
SetStatus Overload
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
...