SHAutoComplete giveth, and SHAutoComplete taketh away
The SHAutoComplete 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...
View ArticleWhat's the deal with What's This??
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...
View ArticleWelcome to The New Old New Thing, 2010 edition
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...
View ArticleWhy doesn't the Windows Vista copy progress dialog show the names of the...
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...
View ArticleCliff Notes: The short version of the Cliff Mass blog
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...
View ArticleHow do I find the bounding box for a character in a font?
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 "123", as these characters do not have any descent or internal...
View ArticleWhen will the window manager destroy a menu automatically, and when do I need...
Our old friend Norman Diamond wonders when you are supposed to destroy a menu and when you are supposed to let Windows destroy it. The rules for when the window manager implicitly destroys menus are...
View ArticleEvery window with the WS_SYSMENU style has a system menu, but it's not there...
I mentioned last time that there’s an optimization in the treatment of the system menu which significantly reduces the number of menus in the system. When a window has the WS_SYSMENU window style, it...
View ArticleHow do I accept files to be opened via IDropTarget instead of on the command...
One of my colleagues tipped me off to some additional resources on the subject of using the DropTarget technique for accepting files for execution. First, it turns out that there is an SDK sample that...
View ArticleThat's a great idea, it's on the list
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...
View Article