Window

Retrieves a handle to the Window automation object.

Window object properties
Visible
True if the window is visible. False otherwise.
hWnd
The Win32 handle of the window.
Active
True if the window has keyboard focus. False otherwise.
Caption
Used to set or retrieve the window's title bar text.
Height
Window height in pixels.
Left
Window left position.
State
0 - normal
1 - minimized
2 - maximized
Top
Window top position.
Width
Window width in pixels.
ZOrderTop
True if the window is at the top of the Z-order. False otherwise.
Returns
A window object handle.
Example
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
Set wnd = bzhao.Window()
wnd.Visible = False     ' hide the session window
wnd.State = 2           ' maximize the window
wnd.Visible = True      ' show the session window