Hotkeys involving the Windows logo key are reserved by the system

Hotkeys involving the Windows logo key are reserved by the system. New ones are added over time. For example, Windows 98 added Win+D to show the desktop. Windows 2000 added Win+U to call up the Utility Manager. Windows XP added Win+B to move keyboard focus to the taskbar notification area. And a whole bunch of new hotkeys were…


The first day at Microsoft: Don’t just stand there

A second installment in a very sporadic series titled The first day at Microsoft, relating stories of funny things that happened on people’s first days at Microsoft. Today, we hear from Employee Y: One of the things you have to do on your first day is get your photo taken for your identification badge, and I…


The importance of the FORMAT_MESSAGE_IGNORE_INSERTS flag

You can use the FormatMessage message with the FORMAT_MESSAGE_FROM_SYSTEM flag to indicate that the message number you passed is an error code and that the message should be looked up in the system message table. This is a specific case of the more general case where you are not in control of the message, and…


Why are INI files deprecated in favor of the registry?

Welcome, Slashdot readers. Remember, this Web site is for entertainment purposes only. Why are INI files deprecated in favor of the registry? There were many problems with INI files. INI files don’t support Unicode. Even though there are Unicode functions of the private profile functions, they end up just writing ANSI text to the INI…


The forgotten common controls: The GetEffectiveClientRect function

The GetEffectiveClientRect function is another one in the category of functions that everybody tries to pretend doesn’t exist. It’s not as bad as MenuHelp, but it’s still pretty awful. The idea behind the GetEffectiveClientRect function is that you have a frame window with a bunch of optional gadgets, such as a status bar or toolbar….


When in doubt, consult the online Magic 8 Ball

On our team’s web site, buried among the other debugging documents, was a page titled simply “Magic 8 Ball”®¹. If you visited it, you got a dark blue circle with a lighter-blue triangle, on which appeared white text with a randomly-chosen message. The messages were things like Memory corruption. Try a newer build. Known bug….