Widget index / Windows and dialogs · Download this HTML
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. 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; system colors are represented by CSS variables. The default 13 px system-font stack is a readable browser adaptation. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.