Restored

This is the restore state of the emulator window. Restored is a Boolean data type and is read/write enabled. However, if the connection you are attached to is an inplace, embedded object, this property is read-only. The following example shows this property.

Dim  autECLWinObj as Object
Dim  SessList as Object
Set autECLWinObj = CreateObject("ZIEWin.autECLWinMetrics")
Set SessList = CreateObject("ZIEWin.autECLConnList")
 
' Initialize the session
SessList.Refresh
autECLWinObj.SetSessionByHandle(SessList(1).Handle)
 
' Set to restored if not, if restored set to minimized
If ( autECLWinObj.Restored) Then
	autECLWinObj.Minimized = False
Else
	autECLWinObj.Restored = True
End If