Window shell, system menu, move and size

GUI95

Widget index / Windows and dialogs · Download this HTML

A child window inside this page; no native desktop control.
Sample document

Use the system menu to move or size with arrow keys.

Ready — try the example.

States and behavior

Active caption, system menu, normal/minimized/maximized/restored bounds, close/reopen, move/size and cancellation.

Keyboard

Alt+Space within the sample opens its system menu. Choose Move or Size, then arrows (Shift for 1 px), Enter to keep, Escape to revert. Double-clicking the title bar maximizes or restores. Caption buttons are labeled.

Scope and adaptation

A browser child-window pattern, not OS window chrome or full MDI management. Native Electron controls must use host APIs. This sample constrains geometry to its workspace.

Sources

Microsoft preliminary guide (1995), chapters 7–8

Original implementation; the page uses the shared GUI95 stylesheet with its 11px Tahoma stack. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.