Skip to content

MinimizeWindow

Narta Xaymar Dirks edited this page Oct 31, 2026 · 6 revisions
BlitzPlus

MinimizeWindow

MinimizeWindow:Void window:Int32
Parameter Mode Type Default Description
window In Int32 required Handle of a window.

Description

Hides a window as if it were put into the task bar. Its gadgets keep their state. RestoreWindow shows it again and WindowMinimized tells if it is hidden.

Differences

  • The operating system minimizes the window and brings it back from its task bar; without a window manager nothing happens. Where the windows are drawn inside the window of Graphics, a minimized window is a bar at the bottom of that window, which the user clicks to restore it.

Examples

Graphics 320, 240, 32, 2
win = CreateWindow("Hide and seek", 40, 40, 200, 100, Desktop(), 15)
MinimizeWindow win
If WindowMinimized(win) Then RestoreWindow win
Repeat
Until WaitEvent() = $803

Related Commands

ActivateWindow, ActiveWindow, CreateWindow, MaximizeWindow, RestoreWindow, SetMinWindowSize, UpdateWindowMenu, WindowMaximized

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally