The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Feb 27, 2019
Post comments count 0
Post likes count 1

The std::map subscript operator is a convenience, but a potentially dangerous one

Raymond Chen

It makes code easy to read, but things happen behind the scenes you may not be expecting.

Feb 26, 2019
Post comments count 0
Post likes count 1

How to draw a nifty text box in your email message

Raymond Chen

This one weird trick.

Feb 25, 2019
Post comments count 0
Post likes count 2

That time the CEO of a company complained to Congress about Windows file extensions

Raymond Chen

Four fingers pointing back.

Feb 22, 2019
Post comments count 0
Post likes count 0

The 2019/2020 Seattle Symphony subscription season at a glance

Raymond Chen

The pocket reference guide for 2019/2020.

Feb 22, 2019
Post comments count 0
Post likes count 0

How do I permit a minus sign to be entered into my edit control, but only if it’s the first character?

Raymond Chen

Check the insertion point.

Feb 21, 2019
Post comments count 0
Post likes count 0

How do I allow negative numbers with the ES_NUMBER edit control style?

Raymond Chen

You'll have to roll your own.

Feb 20, 2019
Post comments count 0
Post likes count 1

The early history of the ES_NUMBER edit control style

Raymond Chen

It's just a little style bit.

Feb 19, 2019
Post comments count 0
Post likes count 1

How do I convert all these strange Unicode digits into the ones I remember from Sesame Street?

Raymond Chen

Know when to fold'em.

Feb 18, 2019
Post comments count 0
Post likes count 1

How can I check in Win32 whether a Unicode character is any kind of digit?

Raymond Chen

Ask for its character type.