Showing archive results for April 2007

Apr 16, 2007
Post comments count0
Post likes count0

Changes to power management in Windows Vista

Raymond Chen
Raymond Chen

As I noted some time ago, it's hard to get programmers excited about power management. What's worse, programs that do take the effort to care about power management often do it rudely, hijacking your computer and preventing you from going into standby or hibernation, instead preferring to drain your battery until the computer just dies from lack ...

Other
Apr 13, 2007
Post comments count0
Post likes count0

Email tip: People didn't answer your first email for a reason

Raymond Chen
Raymond Chen

It is said that insanity is doing the same thing over and over again and expecting different results. Consider: From: X To: Group Y Question blah blah blah. A day or two later: From: X To: Group Y Resending due to no response. ------- Original Message ------- From: X To: Group Y Question blah blah blah. You didn't get a response because ...

Non-Computeremail
Apr 12, 2007
Post comments count0
Post likes count0

What is the default version of the shell common controls?

Raymond Chen
Raymond Chen

It depends on what you mean by default. As we saw earlier, the convention for Windows header files is that if you don't specify a particular version, then you get the most recent version. The shell common controls header file follows this convention, so if you include the Windows XP version of , you get functions, messages, and structures de...

Code
Apr 11, 2007
Post comments count0
Post likes count0

Oh no, I have an obstructed view of Joshua Roman!

Raymond Chen
Raymond Chen

This past weekend, a group of us attended a subscription concert performance of Beethoven's Missa Solemnis at Benaroya Hall. We collectively hold a block of seats, and it's a mix of regulars and rotating guests. Our seats are close to the stage, made even closer by the hall reconfiguration to accommodate the choir and soloists; we were effectively ...

Non-Computer
Apr 11, 2007
Post comments count0
Post likes count0

What's the difference between WINVER, _WIN32_WINNT, _WIN32_WINDOWS, and _WIN32_IE?

Raymond Chen
Raymond Chen

Okay, so there are all these different ways you can specify what version of the Windows header files you want.† Let's take them in order. The symbol is the earliest one. That's the symbol that 16-bit Windows used to control the versioning of its header files, and its use carried forward into the 32-bit header files, presumably from t...

Code
Apr 10, 2007
Post comments count0
Post likes count0

Enjoy our Bluetooth devices with a glass of beer or wine (Bluetooth device optional)

Raymond Chen
Raymond Chen

Taiwanese Bluetooth technology company Bluetake has an odd picture on their front page. It's three women drinking alcohol, with plenty more bottles in front of them. Not a single Bluetooth device in sight. Maybe Bluetooth just makes alcohol taste better. (Yes, I know it's a stock photo, but what's with the alcohol?)

Non-Computer
Apr 10, 2007
Post comments count0
Post likes count0

What is the default version of a header file?

Raymond Chen
Raymond Chen

The general rule with Windows header files is that if you don't specify which version of the header file you want, you get the latest version. For example, if you have the Windows XP Platform SDK header files and you , you're going to get the Windows XP function prototypes, the Windows XP structures, the the Windows XP flags, a...

Code
Apr 9, 2007
Post comments count0
Post likes count0

Why doesn't the taskbar return to its original size when I return my settings to their original values?

Raymond Chen
Raymond Chen

Commenter Gareth asked why, when the system metrics change and the taskbar changes size to match, the taskbar doesn't return to its original size when the metrics return to their previous values. Because the taskbar doesn't remember the path of changes that led to its current state. It just knows its current state. Let's say the taskbar is 30 pi...

Code
Apr 6, 2007
Post comments count0
Post likes count0

When very young children try too hard to act nonchalant

Raymond Chen
Raymond Chen

Apropos of nothing (but perhaps filed as an addendum to the "stories from school" category), I was reminded of a story from the aftermath of the Nisqually Earthquake that struck Seattle in 2001. Mind you, this story is fourth-hand by now, but it's still cute. A young student, whom I will call "Billy", returned from school the day of the earthquak...

Non-Computer