/
Window.SetStatus Method (Object, WindowStatus)
Window.SetStatus Method (Object, WindowStatus)
Sets the application's main window status (hide, show, activate, minimize, maximize, restore, etc.).
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
[ComVisibleAttribute(false)] public StatusCode SetStatus( Object sessionID, WindowStatus status ) |
Visual Basic (Declaration) |
---|
<ComVisibleAttribute(False)> _ Public Function SetStatus ( _ sessionID As Object, _ status As WindowStatus _ ) As StatusCode |
Visual C++ |
---|
[ComVisibleAttribute(false)] public: virtual StatusCode SetStatus( Object^ sessionID, WindowStatus status ) sealed |
JavaScript |
---|
function SetStatus(sessionID, status); |
Parameters
sessionID
Type: System.Object
One character session ID; can be a one character string, a single character, or an integer type in the valid character range.
status
Type: JollyGiant.Emulation.WindowStatus
Window status class.
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, WindowStatus)
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
Copyright 2009 by Jolly Giant Software, Inc.
, multiple selections available,
Related content
SetStatus_Method(Object, WindowStatus)
SetStatus_Method(Object, WindowStatus)
More like this
SetStatus.Method (Object, WindowStatus)
SetStatus.Method (Object, WindowStatus)
More like this
IWindow.SetStatus Method (Object, WindowStatus)
IWindow.SetStatus Method (Object, WindowStatus)
More like this
Window.GetStatus Method (Object, WindowStatus)
Window.GetStatus Method (Object, WindowStatus)
More like this
IWindow.GetStatus Method (Object, WindowStatus)
IWindow.GetStatus Method (Object, WindowStatus)
More like this
IWindow.SetStatus Method (Object, Int32, Int32, Int32, Int32, Int32, Int32)
IWindow.SetStatus Method (Object, Int32, Int32, Int32, Int32, Int32, Int32)
More like this