The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 5, 2015
Post comments count 0
Post likes count 1

Modifying the CS_NOCLOSE style does affect all windows of the class, just not necessarily in an immediately noticeable way

Raymond Chen

It's there, you just can't see it.

Mar 4, 2015
Post comments count 0
Post likes count 2

Why are the dimensions of a maximized window larger than the monitor?

Raymond Chen

So you don't see the borders.

Mar 3, 2015
Post comments count 0
Post likes count 1

Setting up a new computer often results in leftover slot covers, so what do you do with the slot covers?

Raymond Chen

Doorstop.

Mar 2, 2015
Post comments count 0
Post likes count 1

Connecting some blocks: Tell me more about the current image in my wallpaper slide show

Raymond Chen

Click.

Feb 27, 2015
Post comments count 0
Post likes count 2

Solving the problem rather than answering the question: How can a non-administrator modify a registry key that requires administrator permission?

Raymond Chen

Design so you don't need administrative privileges.

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

RegNotifyChangeKeyValue sucks less

Raymond Chen

No longer tied to a specific thread.

Feb 25, 2015
Post comments count 0
Post likes count 1

Why does the mouse cursor jump a few pixels if you click on the very bottom row of pixels on the taskbar?

Raymond Chen

Because that's where you wanted it to be.

Feb 24, 2015
Post comments count 0
Post likes count 1

Nice job, you got an A minus from Bill

Raymond Chen

That's as high as it goes.

Feb 23, 2015
Post comments count 0
Post likes count 1

Further adventures in trying to guess what encoding a file is in

Raymond Chen

Today's candidate: IMultiLanguage2::DetectCodepageInIStream