If I understand your post correctly, you need something similar to Spy++ that can hook the Windows messages and tell you when that message gets fired.
Have a look at these links:
- Deliver The Power Of Spy++ To Windows Forms
- Spying Window Messages from the Inside
- How can I get functionality similar to Spy++ in my C# app?