Showing results for October 2003 - Page 2 of 4 - The Old New Thing

Oct 21, 2003
0
0

Using the TAB key to navigate in non-dialogs

Raymond Chen
Raymond Chen

The IsDialogMessage function works even if you aren't a dialog. As long as your child windows have the WS_TABSTOP and/or WS_GROUP styles, they can be navigated as if they were part of a dialog box. One caveat is that IsDialogMessage will send DM_GETDEFID and DM_SETDEFID messages to your window, which are messag...

Code
Oct 20, 2003
0
0

What is the Alt+Tab order?

Raymond Chen
Raymond Chen

What determines the order in which icons appear in the Alt+Tab list? The icons appear in the same order as the window Z-order. When you switch to a window, then it comes to the top of the Z-order. If you minimize a window, it goes to the bottom of the Z-order. The Alt+Esc hotkey (gosh, does anybody s...

History
Oct 20, 2003
0
0

The more I learn about Sweden, the weirder it gets

Raymond Chen
Raymond Chen

It must be really boring in Sweden in the winter. Things to do: Military service in Sweden is compulsory for all males. When your country has not participated in any wars for two hundred years, you have to pass the time somehow. Apparently one of the exercises is ...

Non-Computer
Oct 18, 2003
0
0

Curling anyone?

Raymond Chen
Raymond Chen

The Granite Curling Club is having their annual open house today, October 18th 2003, from 2pm to 8pm. The Seattle facility is the only dedicated curling facility in the United States west of the Rockies. Bring sweatpants, flat-soled shoes, and $5. They'll provide the brooms and duct tape. I became fascinated with curling many years a...

Non-Computer
Oct 17, 2003
0
1

Don't let Marketing mess with your slides

Raymond Chen
Raymond Chen

It's PDC season, so I thought I'd relate an anecdote about a conference from many years ago. I forget which conference it was, maybe GCDC 1996, we were all busy preparing our presentations and submitted them to the Microsoft conference representatives so they could apply the standard template...

History
Oct 16, 2003
0
0

Scrollbars redux: Part 12

Raymond Chen
Raymond Chen

Reader Jeff Miller added Word-style scroll tips to our sample scrollbar program. Here's how he did it: A tracking tooltip is used to display the scroll tip because we don't want the tooltip to do automatic positioning or automatic show/hide. When a tracking scroll occurs (), we ...

Code
Oct 16, 2003
0
0

The much-misunderstood "nop" action

Raymond Chen
Raymond Chen

Last month, the printers were reconfigured in our building and we got an announcement that went like this: Subject: Printer/Copier Reconfiguration Microsoft Digital Campus Program Action Required blah blah blah printers are being reconfigured blah blah blah ...

Non-Computer
Oct 15, 2003
0
0

Murphy's law for school

Raymond Chen
Raymond Chen

If you know the answer to every question but one, the teacher will call on you to answer that one. I'm learning this rule all over again.

Non-Computer
Oct 14, 2003
0
0

Why don't notification icons get a message when the user clicks the "X" button?

Raymond Chen
Raymond Chen

If such a notification were generated, ill-behaved programs would just react to a click on the balloon's "X" button with an annoying follow-up dialog like, "Are you sure you want to ignore my wonderful message?" So there was a conscious decision not to give them the chance. In the Before Time...

History