The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

How can I distinguish between the numeric keypad 0 and the top-row 0 in the <CODE>WM_<WBR>KEY­DOWN</CODE> message?
Feb 12, 2026
Post comments count 2
Post likes count 1

How can I distinguish between the numeric keypad 0 and the top-row 0 in the WM_KEY­DOWN message?

Raymond Chen
Raymond Chen

Check whether it is an extended key.

How do I suppress the hover effects when I put a Win32 common controls ListView in single-click mode?
Feb 11, 2026
Post comments count 0
Post likes count 3

How do I suppress the hover effects when I put a Win32 common controls ListView in single-click mode?

Raymond Chen
Raymond Chen

You can prevent the item from becoming hot-tracked.

How did Windows 95 get permission to put the Weezer video <I>Buddy Holly</I> on the CD?
Feb 10, 2026
Post comments count 10
Post likes count 5

How did Windows 95 get permission to put the Weezer video Buddy Holly on the CD?

Raymond Chen
Raymond Chen

Asking nicely, and asking a lot of people.

What should I do if a wait call reports <CODE>WAIT_<WBR>ABANDONED</CODE>?
Feb 9, 2026
Post comments count 2
Post likes count 2

What should I do if a wait call reports WAIT_ABANDONED?

Raymond Chen
Raymond Chen

It's your one chance to make amends.

How can I prevent the user from changing the widths of ListView columns in version 5 of the common controls?, part 2
Feb 6, 2026
Post comments count 1
Post likes count 3

How can I prevent the user from changing the widths of ListView columns in version 5 of the common controls?, part 2

Raymond Chen
Raymond Chen

Preventing the resize cursor from appearing.

How can I prevent the user from changing the widths of ListView columns in version 5 of the common controls?
Feb 5, 2026
Post comments count 6
Post likes count 2

How can I prevent the user from changing the widths of ListView columns in version 5 of the common controls?

Raymond Chen
Raymond Chen

Deny changes to the width.

Super Bowl LX creates an opportunity for symphonic friendly wagering
Feb 4, 2026
Post comments count 2
Post likes count 1

Super Bowl LX creates an opportunity for symphonic friendly wagering

Raymond Chen
Raymond Chen

Betting classical music.

How can I prevent the user from changing the widths of ListView columns?
Feb 4, 2026
Post comments count 3
Post likes count 2

How can I prevent the user from changing the widths of ListView columns?

Raymond Chen
Raymond Chen

You can ask the header to be non-resizing.

Some small stories about the giant satellite dish antenna that was behind Microsoft Building 11
Feb 3, 2026
Post comments count 0
Post likes count 7

Some small stories about the giant satellite dish antenna that was behind Microsoft Building 11

Raymond Chen
Raymond Chen

A little trivia.