I want to watch the WM_ messages of MapPoint application by setting a hook so that I can control my addin form in dependency of the status (if minimized, activated, deactivated etc.)
I found some samples for setting hooks but not for that case. First problem is to find the thread id of the host application...
Could someone maybe give an example?
Multithreading is completly new to me.
Thank you