Blitz3D+ Command Reference

RestoreWindow window

Parameters

window - window to restore

Description

Restores a minimized or maximized window to its normal size and position.

Requires Extended language mode.

The counterpart of MinimizeWindow and MaximizeWindow - after it, both WindowMinimized and WindowMaximized return 0. Restoring from a different size delivers the usual window size event ($802), and gadgets follow their SetGadgetLayout rules.

Note that restoring does not by itself bring the window to the front of other applications; call ActivateWindow if you also want it focused - for example when the user double-clicks a project file while your editor sits minimized.

See also: MinimizeWindow, MaximizeWindow, WindowMinimized, WindowMaximized, ActivateWindow.

Index