The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jan 1, 2016
Post comments count 0
Post likes count 1

If you want to receive a message that is broadcast to top-level windows, you need a top-level window

Raymond Chen

Stands to reason.

Dec 31, 2015
Post comments count 0
Post likes count 1

2015 year-end link clearance

Raymond Chen

More random stuff.

Dec 30, 2015
Post comments count 0
Post likes count 1

Why is my call to ChangeTimerQueueTimer having no effect? (And another case of looking past the question to solve the problem.)

Raymond Chen

Because it's too late.

Dec 28, 2015
Post comments count 0
Post likes count 2

Determining how each Explorer window is sorted

Raymond Chen

Ask for the sort criteria.

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

When is the correct time to call FreeLibraryWhenCallbackReturns?

Raymond Chen

Any time during the execution of the callback is fine.

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

Why does my in-place tooltip dismiss itself as soon as it appears?

Raymond Chen

Because it's detecting itself.

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

Confusing gotcha: PSECURITY_DESCRIPTOR is not a pointer to a SECURITY_DESCRIPTOR

Raymond Chen

It's just an untyped pointer.

Dec 22, 2015
Post comments count 0
Post likes count 1

Unhandled Exception: Cannot print exception string because Exception.ToString() failed.

Raymond Chen

So that happened.