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

« Previous Version 2 Current »


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)]
StatusCode SetStatus(
	Object sessionID,
	WindowStatus status
)
Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
Function SetStatus ( _
	sessionID As Object, _
	status As WindowStatus _
) As StatusCode
Visual C++
[ComVisibleAttribute(false)]
StatusCode SetStatus(
	Object^ sessionID, 
	WindowStatus status
)
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 object.

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 ID was specified, or was not connected for window services.
WHLLPARAMETERERRORAn invalid option was specified.
WHLLSYSERRORThe method failed due to a system error.
WHLLPSENDEDThe session has stopped.

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


IWindow Interface
SetStatus Overload
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.



  • No labels