The WindowState property returns or sets the state of the window. Returns a MVWindowState.
Syntax
object.WindowState
object.WindowState = State
Parameter |
Type |
Description |
State |
required; window state |
Example 1
This example demonstrates how to return the window state of the MapViewer application.
Debug.Print mvApp.WindowState
Example 2
This example demonstrates how to maximize the MapViewer application window.
mvApp.WindowState = mvWindowStateMaximized
Used by: Application object, Window object