Skip to main content
Version: Next

REDUCE RESTORE WINDOW

REDUCE RESTORE WINDOW ( window )

ParameterTypeDescription
windowIntegerWindow reference number

This command is not thread-safe, it cannot be used in preemptive code.

Description

The REDUCE RESTORE WINDOW command reduces/expands the window whose reference number was passed in window to/from the taskbar on Windows or the dock on macOS.

The command toggles the window state:

  • If the window was displayed, the command reduces the window to the taskbar or dock.
  • If the window was reduced, the command restores the window to its previous state.

Note: On macOS, the command is asynchronous.

See also

Is window reduced
MAXIMIZE WINDOW
MINIMIZE WINDOW