The Old New Thing

Why isn't there a GetDlgItemFloat function?

Jonathan Wilson asks, "Do you know why there is a GetDlgItemInt and a SetDlgItemInt but not a GetDlgItemFloat and a SetDlgItemFloat?" Give people five dollars and they'll ask why you didn't give them ten. Let's start with the first question. Why is there a function? After all, doesn't do anything you couldn't already do with and . Well...

The art of losing things: Keep moving them around

The worst thing about losing things is that when you eventually find them, they're always where you left them. (This assumes you live alone or otherwise can control who touches your stuff.) I have a mental place for most things, and I keep them there, which is great, because when I need, say, my passport, I know where to go. Except that I ...

Why can't I convert a time zone abbreviation into a time zone?

Suppose you have a string of the form . How can you parse this into something your program can manipulate, like say a or a ? Basically, you can't in the general case. The time zone abbreviation CST is ambiguous. It could mean U.S./Canada Central Standard Time, Australian Central Standard Time, China Standard Time, or Cuba Summer Time. ...

How do I log on using a dial-up connection on Windows Vista?

Mike Stephens from the Group Policy Team Blog explains how to get "Log on using dial-up connections" working on Windows Vista. But I'm posting to respond to a comment on that page, since that falls under the category of "When people ask for security holes as features." The only problem is all users need to have access to an account with ...

Not my finest hour: Using the wrong mouse

I used the wrong mouse for nearly an entire day. There are a good number of computers in my office, but they all funnel through to two sets of mice, keyboards, and monitors. One set is connected to the machine I use for day-to-day activities; the other set is connected through a switch box to a collection of machines which I used for testing ...

Email tip: A peer-to-peer discussion group does not come with a service level agreement

Most email discussion groups are not official support channels. There are a lot of peer-to-peer mailing lists inside Microsoft, consisting of people who are interested in a particular topic, sharing tips, providing advice, helping each other out if somebody runs into a problem, but they aren't the official support mechanism for the product ...

Why does scheduling a task require a password?

Kevin asks, "Windows XP lets me install applications, delete files, etc., so why does scheduling a task requires a password?" (I guess the answer to this question wasn't obvious since nobody answered it in the suggestion box.) Because scheduled tasks run after you have logged off. All those other operations occur while you are logged ...

The 2008/2009 Seattle Symphony subscription season at a glance

Every year, I put together a little pocket guide to the Seattle Symphony subscription season for my symphony friends to help them decide which ticket package they want. As before, you might find it helpful, you might not, but here it is anyway. Notes: This chart doesn't include "one-off" concert series such as the Visiting Orchestras or ...