Showing results for November 2007 - The Old New Thing

Nov 30, 2007
0
0

Hotkeys involving the Windows logo key are reserved by the system

Raymond Chen
Raymond Chen

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 w...

Code
Nov 29, 2007
0
0

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

Raymond Chen
Raymond Chen

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 waited in line with the droves ...

Non-Computer
Nov 28, 2007
0
1

The importance of the FORMAT_MESSAGE_IGNORE_INSERTS flag

Raymond Chen
Raymond Chen

You can use the message with the 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 when you are not in control of the message, you had better pass the flag. ...

Code
Nov 27, 2007
0
0

What to do when the steering column is stuck and the ignition won't turn

Raymond Chen
Raymond Chen

One evening, I parked pointing downhill and like the book says, I turned my wheels to the right before parking. But I turned it a bit too far, because when I returned to the car and inserted the key into the ignition, the key wouldn't turn. The wrong thing to do is to force the key until it breaks. Here's the right thing to do: Take the steerin...

Non-Computer
Nov 26, 2007
0
1

Why are INI files deprecated in favor of the registry?

Raymond Chen
Raymond Chen

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. The registry tried to address these concerns. You might argue whether these were valid concerns to begin with, but the Windows NT folks sure thought they w...

Other
Nov 23, 2007
0
0

Sounds about right: What a geek does with an iPhone in the first two days

Raymond Chen
Raymond Chen

Welcome to Black Friday, the traditional start of the Christmas shopping season. I suspect there will be a bunch of people who are hoping Santa will get them an iPhone. Here's one story of what lies in store. One of my friends stood in line on the first day of iPhone availability and got one of the highly-anticipated gadgets. We happened to ge...

Non-Computer
Nov 23, 2007
0
0

The forgotten common controls: The GetEffectiveClientRect function

Raymond Chen
Raymond Chen

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

Code
Nov 22, 2007
0
0

When in doubt, consult the online Magic 8 Ball

Raymond Chen
Raymond Chen

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 It was fun to give the 8-ball a shake, but the real purpose ...

Other
Nov 21, 2007
0
0

Alternate theories on how Putin can retain power after his second term expires

Raymond Chen
Raymond Chen

Everybody has their own pet theory on how Vladimir Putin can retain power after the end of his second official term. I earlier wrote of one such theory: Change the constitution to permit a third term. In the intervening months, other theories have been put forth. Each one chips away at a different part of the statement that "the president can be e...

Non-Computer