SpyWindowFinalizer and Windows Message Hooking- August 17, 2005 One very powerful API that some UI developers may not be aware of is SetWindowHookEx. This api allows you to intercept all types of window messages before (or after) they are processed. You can use this to do a whole range of neat things. For instance, you can log all messages in your app. You can use the windows journal recordplayback utility to create a test harness. You can also write code to validate your application -- such as whether your application disposes all...http://blogs.msdn.com/benwu/archive/2005/08/17/452437.aspx |