The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Nov 2, 2012

How do I parse a string into a FILETIME?

Public Service Announcement: Daylight Saving Time ends in most parts of the United States this weekend. Other parts of the world may change on a different ...

0
0
Raymond Chen
Raymond Chen
Nov 1, 2012

When you synthesize input with SendInput, you are also synthesizing the timestamp

A customer was reporting a problem when they used the function to simulate a drag/drop operation for automated testing purposes. I see the mouse move from ...

0
0
Raymond Chen
Raymond Chen
Oct 30, 2012

The wisdom of seve^H^H^H^Hsixth graders: Living without electronics for a week

Sixth grade students (ages 11 to 12, roughly) were instructed to imagine that they have no television, computer, or telephone for a week and write an essay (in ...

0
0
Raymond Chen
Raymond Chen
Oct 30, 2012

Keyboard shortcut for resizing all columns in a listview control to fit

The keyboard shortcut for resizing all columns in a report-mode (also known as Details mode) list view control to fit the current content width is Ctrl+Num+. ...

0
0
Raymond Chen
Raymond Chen
Oct 29, 2012

In the conversion to 64-bit Windows, why were some parameters not upgraded to SIZE_T?

James wonders why many functions kept for parameter lengths instead of upgrading to or . When updating the interfaces for 64-bit Windows, there were a few...

0
0
Raymond Chen
Raymond Chen
Oct 26, 2012

Whether the Unicode Bidi algorithm is intuitive depends on your definition of "intuitive"

In Windows, we spend a good amount of time with the pseudo-mirrored build. And one of the things that you notice is that pseudo-mirrored text comes out looking...

0
0
Raymond Chen
Raymond Chen
Oct 25, 2012

Keyboard layouts aren't like Beetlejuice – they won't appear just because you say their name

A customer reported a bug in Windows Vista Home Editions: We are handling a Ctrl+V keyboard event and want to interpret it in the context of a US-English ...

0
0
Raymond Chen
Raymond Chen
Oct 24, 2012

You can't use the WM_USER message in a dialog box

Today, I'm not actually going to say anything new. I'm just going to collate information I've already written under a better title to improve search engine ...

0
0