hn.today

A brief history of Windows scroll bar shortcuts

devblogs.microsoft.com167 points113 comments
Screenshot of A brief history of Windows scroll bar shortcuts

A concise history of Windows scroll bar behavior: classic vertical scroll bars provided five targets - two arrow buttons (line scroll), two gutter regions (page scroll), and a draggable thumb. Windows 7 added a right‑click context menu that exposed options corresponding to those existing actions (Top/Home, Bottom/End, Page Up, Page Down, Scroll Up/Down) plus one new command, "Scroll Here," which jumps the thumb to the clicked position. At the same time a hidden shortcut was introduced: Shift+click on the scroll bar also moves the thumb directly to the clicked spot, a faster way to traverse long documents without dragging.

That convenience has been eroded by framework fragmentation. Native Win32 controls historically supported the context menu and Shift+click, but many modern frameworks supply their own scroll bars. Chromium-based apps omit the context menu but implement Shift+click; WPF/XAML implements both; WinUI omits both; Qt exposes multiple switches so behavior depends on how an app is built (SH_ScrollBar_ContextMenu, SH_ScrollBar_LeftClickAbsolutePosition, SH_ScrollBar_MiddleClickAbsolutePosition). The result is that a useful, discoverable shortcut exists in principle, but in practice its availability varies widely across applications.

Read on devblogs.microsoft.com113 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.