March 29th, 2004

Why Ctrl+Alt shouldn’t be used as a shortcut modifier

You may have noticed that Windows doesn’t use Ctrl+Alt as a keyboard shortcut anywhere. (Or at least it shouldn’t.) If a chorded modifier is needed, it’s usually Ctrl+Shift.

That’s because Ctrl+Alt has special meaning on many keyboards. The combination Ctrl+Alt is also known as AltGr, and it acts as an alternate shift key. For example, consider the German keyboard layout. Notice that there are three keyboard shift states (Normal, Shift, and AltGr), whereas on U.S. keyboards there are only two (Normal and Shift). For example, to type the @ character on a German keyboard, you would type AltGr+Q = Ctrl+Alt+Q. (Some languages, like Swedish, have a fourth state: Shift+AltGr. And then of course, there’s the Japanese keyboard…)

Most international keyboards remap the right-hand Alt key to act as AltGr, so instead of the finger-contorting Ctrl+Alt+Q, you can usually type RAlt+Q.

(For reference, here are diagrams of several other keyboard layouts, courtesy of my bubble-blowing friend, Nadine Kano.)

Sometimes a program accidentally uses Ctrl+Alt as a shortcut modifier and they get bug reports like, “Every time I type the letter ‘Ä‘’, the program thinks I want to start a mailmerge.”

[Raymond is currently on vacation; this message was pre-recorded.]

Topics
History

Author

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.