Skip to main content
Version: Next

MINIMIZE WINDOW

MINIMIZE WINDOW {( window )}

ParameterTypeDescription
windowIntegerWindow reference number or if omitted, all the current process frontmost windows (Windows) or current process frontmost window (Mac OS)

Description

The MINIMIZE WINDOW command sets the size of the window whose number is passed as window to the size it was before being maximized. If window is omitted, the command applies to each window of the application (Windows) or to the frontmost window of the process (on Mac OS).

This command has the same effect as one click on the reduction box of the 4D application:

On Windows

The size of the window is set to its initial size, i.e., its size before being maximized. If the window parameter is omitted, all the application windows are set to their initial sizes.


Reduction box on Windows

On Mac OS

The size of the window is set to its initial size (i.e. its size before being maximized). If the window parameter is omitted, the frontmost window of the current process is set to its initial size.


Reduction/zoom box on Mac OS

If the windows to which the command is applied were not previously maximized (manually or using MAXIMIZE WINDOW), or if the window type does not include a zoom box, the command has no effect. For more information on window types, refer to the Window Types (compatibility) section.

Note: This function is not to be confused with minimizing a window to a button (Windows) or in the Dock (Mac OS), which is triggered by a click on the button shown:


Windows


Mac OS

See also

MAXIMIZE WINDOW
REDUCE RESTORE WINDOW

Properties

Command number454
Thread safe