The Old New Thing

What is the default version of the shell common controls?

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

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

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

What's the row of numbers on the copyright page of books?

On the copyright page of a book (typically the back of the title page), you'll find a row of numbers. Something like this: Printed in the United States of America 10   9   8   7   6   5   4   3   2   1 As Dave Taylor explains, the smallest number tells you which printing of the book you have. ...

What is the default version of a header file?

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

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

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

When very young children try too hard to act nonchalant

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

Code is read much more often than it is written, so plan accordingly

Design for readability. Even if you don't intend anybody else to read your code, there's still a very good chance that somebody will have to stare at your code and figure out what it does: That person is probably going to be you, twelve months from now. When I advised against the use of function parameters, one commenter pointed out that ...

On the enduring appeal of Walker, Texas Ranger

Conan O'Brien airs clips from Walker, Texas Ranger. The putative excuse for this is that, as a result of the merger of NBC with Universal Studios, he can air clips from the show without paying royalties. The real excuse, of course, is that the clips are just so unintentionally funny. This appears to be a recurring sketch on Conan, so a ...