MaximizeWindow()

Summary

Maximizes a window so that it fills the Maptitude client area.

Syntax

MaximizeWindow(window_name)

Argument Contents
window_name String of the form "window type|window name," or "window name" if the window name is unique among the window types, or null for the current window

Notes

  • Calling MaximizeWindow() is equivalent to clicking the maximize button in the upper-right corner of the window.

  • For more information on window types, see Windows.

Example

if IsWindow(win_name, {"Iconized"}) then
MaximizeWindow(win_name)
else
MinimizeWindow(win_name)

See Also

Function Summary
MinimizeWindow() Minimizes the specified window.
RestoreWindow() Restores a window to its original size.