Showing results for May 2010 - The Old New Thing

May 31, 2010
0
0

That's a great idea, it's on the list

Raymond Chen
Raymond Chen

The great thing about the taskbar is that everybody and their pet dog have an idea for how it can be improved. The bad thing about the taskbar is that everybody and their pet dog have an idea for how it can be improved. (And everybody and their pet dog also think that their feature suggestion is the important one that should be worked on next. Esp...

Other
May 26, 2010
0
0

How do I find the bounding box for a character in a font?

Raymond Chen
Raymond Chen

A customer had the following question: I'm looking for a way to get the height of text which consists entirely of digits, for example , as these characters do not have any descent or internal leading. I expected functions like to return the character's ascent minus the internal leading, but in fact it returns the ascent plus the descent plus t...

Code
May 25, 2010
0
0

Cliff Notes: The short version of the Cliff Mass blog

Raymond Chen
Raymond Chen

Cliff Mass is Professor of Atmospheric Sciences at the University of Washington. To those of us in the Seattle area, he's a weather celebrity, appearing every Friday on local public radio station KUOW to provide a weekend weather forecast and discuss other weather issues. His blog covers similar material, such as his explanation of why weathe...

Non-Computer
May 25, 2010
0
0

Why doesn't the Windows Vista copy progress dialog show the names of the files being copied?

Raymond Chen
Raymond Chen

When you copy multiple files in Windows Vista, the progress dialog gives you an estimate of the time remaining as well as an indication of what fraction of the operation has been completed. But one thing it doesn't tell you is the name of the file currently being copied. Why not? The programmer responsible for the file copy progress dialog in Wind...

History
May 24, 2010
0
0

Welcome to The New Old New Thing, 2010 edition

Raymond Chen
Raymond Chen

The blog server folks tell me that the upgrade is complete. Thanks for your patience. I'm told they will throw the switch early this afternoon. The new URL for this site after the switchover will be http://blogs.msdn.com/b/oldnewthing/, although there should be 301 redirects at all the old URLs so your existing links will still work. My colleague...

Non-Computer
May 24, 2010
0
0

What's the deal with What's This??

Raymond Chen
Raymond Chen

Via the suggestion box, Matthew Douglass-Riley wonders about the history and fate of the What's This? button. (The same question was repeated by an anonymous coward.) The What's This? button (more formally known as the contextual help caption button) is turned on by the extended style and takes the form of a question mark. When the user clicks ...

Other
May 21, 2010
0
0

SHAutoComplete giveth, and SHAutoComplete taketh away

Raymond Chen
Raymond Chen

The function lets you attach autocomplete functionality to an edit control, and there are flags that describe what sources you want the autocomplete to draw from. If you call a second time, the second set of flags replace the original flags. The flags do not accumulate. For example, if you first call , and then you later call , the result is tha...

Code