WindowState

A property to get or set the session's window state.

Parameters
StateVal
Used when setting the window state:
0 - normal
1 - minimize
2 - maximize
Returns
The window's state when using the get property.
Example (get)
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
state = bzhao.WindowState()
MsgBox "The window state is " & state
Example (set)
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
bzhao.WindowState = 2