Showing archive results for 2011

Oct 27, 2011
Post comments count0
Post likes count1

Why do the pinned items in the Jump List go on the top instead of the bottom?

Raymond Chen

When you pin items to the Jump List, they go to the top of the menu that appears when you right-click the Taskbar item. Why not put the pinned items at the bottom? After all, over 98% of users leave the taskbar at the bottom of the screen, so putting the pinned items at the bottom of the list maintains a consistent position relative to the Taskbar...

History
Oct 26, 2011
Post comments count0
Post likes count1

How can I get notified when some other window is destroyed?

Raymond Chen

A customer wanted to know whether there was a method (other than polling) to monitor another window and find out when it gets destroyed. The goal was to automate some operation, and one of the steps was to wait until some program closed its XYZ window before moving on to the next step. Finding the XYZ window could be done with a , but since the wi...

Code
Oct 25, 2011
Post comments count0
Post likes count0

Raymond misreads restaurant names: Local 360

Raymond Chen

Okay, maybe this time I'm misreading it on purpose, but when I see the name of popular new restaurant Local 360, I think, "That doesn't look all that low-calorie to me. I bet their dishes have more than 360 calories." Or maybe it's "We serve high-calorie foods five days a year. Congratulations, you happen to have picked those five days."

Non-Computer
Oct 25, 2011
Post comments count0
Post likes count1

No good deed goes unpunished: Helping to redirect a question

Raymond Chen

It is a common occurrence that a question is sent to a mailing that is close, but not quite right. Usually somebody will provide information to help redirect the question to a more appropriate mailing list. But this effort does not always go unpunished. From: X A customer is encountering a problem with Product Q when they blah blah blah. C...

OtheremailNo good deed goes unpunished
Oct 24, 2011
Post comments count0
Post likes count0

Squeezing the last bit of enjoyment out of the lost half-inning of a baseball game

Raymond Chen

A colleague of mine complained, "When the home team is winning, they don't bother playing the bottom half of the ninth inning. I'm getting ripped off! Make them finish the game!" This led to some speculation as to how the visiting team could manage to salvage a win out of that final half-inning, given that they had no further opportunity to score ...

Non-Computer
Oct 24, 2011
Post comments count0
Post likes count1

If the shell is written in C++, why not just export its base classes?

Raymond Chen

ton suggested that since the shell is written in C++, should have been an abstract class, and then it could have used techniques like exceptions and Inversion of Control. Okay, first of all, I'm not sure how Inversion of Control is something that requires C++, so I'm going to leave that aside. Second of all, who says the shell is written in ...

Other
Oct 21, 2011
Post comments count0
Post likes count0

The video of Microsoft Store employees dressed in Windows colors, revealed by a falling curtain, gee that looks familiar, somehow

Raymond Chen

One of my former colleagues tipped me off to this video of the Grand Opening of the newest Microsoft Store, specifically calling out this moment at timecode 0:48 of a curtain dropping, revealing cheering employees dressed in Windows colors, which seemed familiar, somehow. Oh right, because I did the same thing over fifteen years ago, at timec...

Non-Computer
Oct 21, 2011
Post comments count0
Post likes count1

The PSN_SETACTIVE notification is sent each time your wizard page is activated

Raymond Chen

A customer had received a number of crashes via Windows Error Reporting and believed that they had found a bug in the tree view common control. In our UI, we have a tree view with checkboxes. The tree view displays a fixed item at the top, followed by a variable number of dynamic items. When the user clicks Next, we look at the tree view to de...

Code
Oct 20, 2011
Post comments count0
Post likes count1

No, modifying the DLLs that come with Windows is not supported

Raymond Chen

From the I can't believe I had to write that file comes this question from a customer: Our customer is modifying the ABC.DLL file that comes with Windows in order to accomplish XYZ. Is this supported? No, of course this isn't supported. I can't believe I had to write that. if you modify a system file, then the thing you're running isn't Windows ...

Other
Oct 19, 2011
Post comments count0
Post likes count1

Why do some infotips repeat the name of the item as well as the infotip?

Raymond Chen

A customer noticed that when the user hovered over their application name in the Start menu, the infotip that pops up includes their product name: ... but no other program on the Start menu included the product name in the description: The customer compared their shortcut with the other ones but couldn't find anything that was telling Explorer,...

CodeTips/Support