Actually, you can Ctrl+Shift+Click anywhere on the Start menu in Windows 7 to get this menu, not just the power button. In Windows 8, it was also added to the ctrl+shift+click menu on the taskbar as well.
Ctrl+Shift+Click (and sometimes just Shift+Click) works all over Windows Explorer to provide extra context menu options. For example if you Shift+Click on a jumplist program item, you'll get more options on that menu as well (Run as admin (Ctrl+Shift+Click on the taskbar icon to invoke this as well)).
There's even more new in Win8 (I don't have Win7 handy to test on, not sure if these were in there too): Shift+Right-cclick will give you 'Open in new process' and 'Open command window here.'
Edit: Thanks SquareWheel - you're right only Shift is needed for 'Open Command window here' and some other options.
A dull story but an excellent way for a new generation of hackers to discover Raymond Chen's oldnewthing blog!
Raymond was knighted by Joel Spolsky as the compatibility camp hacker at Microsoft just when others at Microsoft were pushing for a reinvention of Windows.
Raymond has lots of really fascinating insights into how Windows works, which are interesting to even non-Windows coders like myself.
IIRC [alt]+[space] did the same when the start button was highlighted (I'm sure I managed that back when I ran Win95).
You could have all sorts of fun with the start button / task bar though. I remember writing a breakout game where the start button was the paddle. The code itself was very simple as it was basic Win32 APIs. As messy as those APIs were, they're lack of basic security made it great fun to write all sorts of weird hacks hehehe.
In fact, going back to the topic of MDIs (as the article referenced in relation to the WS_SYSMENU style), I wrote a basic program that would work as a winword 95 / 97 plug in (winword being an MDI back then) that would dump iexplore into winword so it would behave exactly like any other word document. This was done purely to get away with surfing the net in college as it was easier to hide your browser session behind a word document that it was to close/reopen it every time a lecturer walked past. IIRC that was just one API call (something like SetHwndParent?), but that was /years/ ago now and I've since left Windows development for Linux and Unix.
Indeed - if I recall, Raymond Chen explained in one post that the Win32 API implementation had so many restrictions on its code size and speed that the Windows programmers had to omit a lot of sanity checks and special cases, and just trust that developers wouldn't shoot themselves in the foot (or at least notice the missing foot in QA and remove the foot-shooting code.)
Surprisingly, yes. I remember it was part of the Windows 95 folklore back in the day. It only worked on the earlier versions, as I recall, as the newer builds fixed it.
1. Open the start menu, hold ctrl+shift, click the "power" button. A context-menu appears which lets you kill Explorer (explorer.exe).
2. Click on taskbar, press alt+f4, "Shut Down Windows" dialog appears. Holt ctrl+alt+shift and click "cancel" to kill explorer.exe
Anyone else know of interesting hidden shortcuts (not necessarily to kill explorer.exe)?