Hacker News new | ask | show | jobs
by nielssp 1334 days ago
Tiny nitpick – buttons don't look like that when pressed in Windows 98 (or any version of Windows for that matter).

This is what they're supposed to look like: https://imgur.com/a/iFMJCER (98.css on top, Windows 98 below)

As far as I'm aware, the only buttons that look like that when pressed are the Start menu button and taskbar buttons.

Similarly, buttons are supposed to have a black border in addition to the dotted outline when they're focused.

2 comments

Good catch - You can probably tell which parts I took from Microsoft Windows User Experience [0] and which I built while eyeing my VM.

Unsure why there's a discrepancy. You're probably right re: taskbar buttons.

https://i.imgur.com/dxOYj2Y.png https://i.imgur.com/X3DJ50T.png

[0] https://www.amazon.com/Microsoft-Windows-Experience-Professi...

Probably a design bug in win98! I love that you used the book as reference. Incredible stuff.
I think the thick black border marks the "default dialog button", not focus.
It does both. Black border alone marks the default button in the dialog (unless another button is focused), black border + dotted outline marks focus.

I double checked in a VM running Windows 98 earlier today. I suspect some of these 9x recreations are based solely on screenshots, in which details like active and focus states are not obvious.

To put it another way:

* Thick black border indicates which button would be pressed if you hit enter. This is the focused button, or the default button if no button currently has focus.

* Dashed border indicates which button or other control currently has focus; this button is pressed if you hit space (but if another control has focus then space does not press the default button).