The Old New Thing

Commissioner Bud Selig was named the first recipient of the Commissioner Bud Selig Leadership Award

In what was sure to have been a stunning surprise, last night, the first annual Commissioner Bud Selig Leadership Award was given out. And the winner was... Allan H. "Bud" Selig! I wonder who will win next year. Or who will win the Bud Selig Lifetime Achievement Award. Perhaps just to save time, they will name Bud Selig the Bud Selig ...

What clock do MSG.time and GetMessageTime use?

The MSG structure has a field called time which is a DWORD. There is also a function Get­Message­Time which returns a LONG. Both are documented as returning the time the message was generated, but the types are different. Are these time units comparable? Yes, they are the same thing. They all use the 32-bit timer provided by the Get...
Comments are closed.0 0
Code

When the Web page says that a tool is not supported, it means that if you find a problem and contact technical support, they're just going to point you back to the Web page

I file this under the category of People refuse to read what is right in front of them. There used to be a number of utilities available for download which all go by the name PowerToys. And they all contain text like this: Note: We take great care to ensure that PowerToys work as they should, but they are not part of XYZ and are not ...

How do I get a high resolution icon for a file?

Today's Little Program obtains a high resolution icon for a file. Start with our scratch program and make these changes. Remember, Little Programs do little or no error checking. This week's smart pointer class is (rolls dice) _com_ptr_t! The Get­Icon­Index function does nothing new. It simply retrieves the system image list ...
Comments are closed.0 0
Code

Psychic debugging: Why messages aren't getting processed by your message pump

The second parameter to the Get­Message is an optional window handle that is used to tell the Get­Message function to retrieve only messages that belong to the specified window. A filtered Get­Message is nearly always a bad idea, because your program will not respond to messages that don't meet the filter. Unlike a filtered Peek...
Comments are closed.0 0
Code

There are so many things that call themselves message queues

There are a whole bunch of things in Windows that call themselves message queues, and none of them have anything to do with each other. There is the window manager message queue, which holds window messages. And there is the Microsoft Message Queue (MSMQ) which is a networking technology for allowing multiple computers to communicate with ...

How do I hit the Win+PrintScreen hotkey if my tablet doesn't have a PrtSc key?

Windows 8 added a new hotkey: Win+PrtSc takes a snapshot of your screen and puts it into the Screenshots folder of your Pictures library. But what if you are on a tablet with no PrtSc key? On tablets, you can perform the same operation by pressing Windows button + Volume down. Both of these are the hardware buttons on the tablet, not on...

Feedback usabilla icon