GUI95 · Widget reference

38 examples

Small working examples for the Windows 95 control families and common dialog patterns. Every example is a self-contained HTML file: copy it, open it locally, and adapt only the controls you need.

These are original browser implementations. Native Open, Save, Print and rich-text editing use browser adapters with explicit limits. They do not reproduce every Windows API or later common control.

38 examples

Basic controls

Radio-button groups

One selected option, focus, and disabled option. The legend labels the choice as a whole.

HTML

Editable combo box

Free text, filtered suggestions, active suggestion distinct from committed value, empty results, closed popup.

HTML

Feedback and layout

Navigation and data

Tree view

Expanded/collapsed branches, visible focus and single selection; children retain their state when a parent closes.

HTML

Context menus

Pointer and keyboard invocation, disabled command, bounded horizontal placement and focus restoration.

HTML

Windows and dialogs

Modeless Find dialog

Open without blocking the document, repeated search, wraparound, match-case and not found.

HTML

Specialized controls

Hot-key input

Recorded chord, empty value, canceled capture and invalid chord.

HTML

Host integrations

Open file through the browser

No selection, chosen file, successful read, preview limit and read failure. Canceling the host picker keeps the existing document.

HTML

MIT · Copyright (c) 2026 Stephen Lavelle. No network requests are needed to run the examples. Font and native-popup rendering follow your browser and system.