Returns a Window object representing the main environment window. This object is of type MainWindow, but has a LinkedWindows collection containing all of the docked windows.
Syntax
Property Get MainWindow () As Window
Remarks
The LinkedWindows collection is the collection of windows docked to the sides of the main environment window. If two windows are docked together but not attached in any way to the MainWindow, they do not appear in this collection.