A brief history of Windows scroll bar shortcuts

Hacker News Top News

Summary

The article explores the history of scroll bar shortcuts in Windows, detailing mouse operations and context menus, and reviews how different UI frameworks implement these features, noting ecosystem fragmentation.

No content available
Original Article
View Cached Full Text

Cached at: 09/23/26, 06:59 PM

# A brief history of Windows scroll bar shortcuts - The Old New Thing Source: [https://devblogs.microsoft.com/oldnewthing/20260922-00/?p=112719/](https://devblogs.microsoft.com/oldnewthing/20260922-00/?p=112719/) For the two decades of Windows, the scroll bar control had just a few basic operations\. \(For expository purposes, let’s assume that the scroll bar is vertical\.\) There are five mouse targets: The arrows at the ends of the scroll bar scroll by a line\. The regions between the thumb and the arrows scroll by a page\. And the thumb itself lets you drag the scroll bar to a specific position\. Windows 7 added a right\-click menu to the scroll bar\. This menu gave you four options that matched existing mouse operations, two operations that matched existing keyboard operations, and a new operation\. Menu optionMouseKeyboardScroll HereDrag thumb to positionTopDrag thumb to startHomeBottomDrag thumb to endEndPage UpClick in upper gutterPgUpPage DownClick in lower gutterPgDnScroll UpClick on up\-arrow↑Scroll DownClick on down\-arrow↓The interesting new one is “Scroll Here”: You can right\-click directly on the spot you want to scroll to, and then pick “Scroll Here”\. This is much more convenient if you want to scroll a long distance, since you don’t have to grab the scroll bar thumb and then drag it all the way to where you want to go\. You can just focus on where you want to go and not where you are coming from\. I used this context menu a lot when I needed to jump long distances\. An even\-more\-hidden shortcut was added at the same time: HoldingShiftwhile clicking on the scroll bar jumps the thumb directly to the spot where you clicked\. I didn’t know about this shortcut until recently\. I had always used my trusty context menu\. Sadly, almost nobody uses Win32 scroll bars any more\. Everybody uses frameworks that provide their own custom scroll bars\. Electron and other Web apps use the Chromium scroll bar, which doesn’t implement the context menu, but at least it does implement theShift\+click shortcut\. The WPF XAML framework appears to implement both the context menuShift\+click\. The WinUI XAML framework frustratingly has neither the context menu nor theShift\+click shortcut\. \([Though at least one person has requested it](https://github.com/Microsoft/microsoft-ui-xaml/issues/11200)\.\) The Qt framework has multiple customization points, so it’s really up to each app’s developer\. You can enable context menus with`SH\_Scroll­Bar\_Context­Menu`, you can enable “left\-click to jump to a position” with`SH\_Scroll­Bar\_Left­Click­Absolute­Position`, and you can enable “middle\-click to jump to a position” with`SH\_Scroll­Bar\_Middle­Click­Absolute­Position`\. Great, so by the time I learn about a shortcut for scroll bars \(Shift\+click\), the ecosystem has fragmented so much that I can’t even rely on it working\. ### Category ### Topics ## Author ![Raymond Chen](https://devblogs.microsoft.com/oldnewthing/wp-content/uploads/sites/38/2019/02/RaymondChen_5in-150x150.jpg) Raymond has been involved in the evolution of Windows for more than 30 years\. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie\-jeebies\. The Web site spawned a book, coincidentally also titled The Old New Thing \(Addison Wesley 2007\)\. He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information\.

Similar Articles

Windows UI evolution: Clicking an unassociated file

Lobsters Hottest

A historical look at how the Windows operating system UI for opening unassociated files evolved from Windows 386 to Windows XP, showing the progression of dialog boxes and the introduction of web service prompts.

The terrible menu bar in the Windows 11 Notepad

Lobsters Hottest

The article criticizes the menu bar in Windows 11 Notepad for multiple bugs and regressions, including issues with mouse and keyboard navigation, compared to the older Win32 version.