Latest posts
- When ReadDirectoryChangesW reports that a deletion occurred, how can I learn more about the deleted thing?Mar 06, 2026Raymond Chen
It's already gone. If you need more information, you should have been remembering it. The post When <CODE>ReadDirectoryChangesW</CODE> reports that a deletion occurred, how can I learn more about the deleted thing? appeared first on The Old New Thing.
- The mystery of the posted message that was dispatched before reaching the main message loopMar 05, 2026Raymond Chen
Perhaps it's because you dispatched it. The post The mystery of the posted message that was dispatched before reaching the main message loop appeared first on The Old New Thing.
- Aha, I found a counterexample to the documentation that says that QueryPerformanceCounter never failsMar 04, 2026Raymond Chen
Of course, anything can happen if you break the rules. The post Aha, I found a counterexample to the documentation that says that <CODE>QueryPerformanceCounter</CODE> never fails appeared first on The Old New Thing.
- Just for fun: A survey of write protect notches on floppy disks and other mediaMar 03, 2026Raymond Chen
Just some useless trivia. The post Just for fun: A survey of write protect notches on floppy disks and other media appeared first on The Old New Thing.
- What sort of horrible things happen if my dialog has a non-button with the control ID of IDCANCEL?Mar 02, 2026Raymond Chen
You get notifications that might not make sense. The post What sort of horrible things happen if my dialog has a non-button with the control ID of <CODE>IDCANCEL</CODE>? appeared first on The Old New Thing.
- Intercepting messages inside IsDialogMessage, fine-tuning the message filterFeb 27, 2026Raymond Chen
Making sure it triggers when you need it, and not when you don't. The post Intercepting messages inside <CODE>IsDialogMessage</CODE>, fine-tuning the message filter appeared first on The Old New Thing.
- Intercepting messages inside IsDialogMessage, installing the message filterFeb 26, 2026Raymond Chen
Using an IsDialogMessage extension point. The post Intercepting messages inside <CODE>IsDialogMessage</CODE>, installing the message filter appeared first on The Old New Thing.
- Intercepting messages before IsDialogMessage can process themFeb 25, 2026Raymond Chen
Process the message before you let IsDialogMessage see it. The post Intercepting messages before <CODE>IsDialogMessage</CODE> can process them appeared first on The Old New Thing.
- Customizing the ways the dialog manager dismisses itself: Isolating the Close pathwayFeb 24, 2026Raymond Chen
Intercepting the flow in your message loop. The post Customizing the ways the dialog manager dismisses itself: Isolating the Close pathway appeared first on The Old New Thing.
- Customizing the ways the dialog manager dismisses itself: Detecting the ESC key, second (failed) attemptFeb 23, 2026Raymond Chen
Sniffing the synchronous keyboard state is still not precise enough. The post Customizing the ways the dialog manager dismisses itself: Detecting the ESC key, second (failed) attempt appeared first on The Old New Thing.