Skip to content

RestoreWindow

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
BlitzPlus

RestoreWindow

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

Description

Puts a window back to the position and size it had before it was minimized or maximized. Nothing happens to a window that is in neither state. This command is undocumented in the official help, but it exists in all versions of BlitzPlus.

Examples

Graphics 320, 240, 32, 2
win = CreateWindow("Restore", 40, 40, 160, 100, Desktop(), 15)
MaximizeWindow win
RestoreWindow win
Notify "Back at " + GadgetWidth(win) + " x " + GadgetHeight(win)

Related Commands

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

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally