Blitz3D+ Command Reference

MinimizeWindow window

Parameters

window - window to minimize

Description

Minimizes a window to the taskbar.

This does the same thing as the user clicking the minimize button. WindowMinimized returns 1 while the window is minimized, and RestoreWindow (or the user clicking the taskbar button) brings it back.

A minimized window keeps running - your event loop, timers and any canvas rendering continue. If you want to pause expensive work while the app is out of sight, watch for the application suspend/resume events ($2001/$2002) in the shared event queue rather than polling the window state.

Requires Extended mode.

See also: MaximizeWindow, RestoreWindow, WindowMinimized, ActivateWindow.

Index