RestoreWindow()

Summary

Restores a window to its original size.

Syntax

RestoreWindow(string 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

  • RestoreWindow() restores a window that has been minimized with MinimizeWindow().

  • For more information on window types, see Windows.

Example

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

See Also

Function Summary
MinimizeWindow() Minimizes the specified window
MaximizeWindow() Maximizes a window so that it fills the Maptitude client area