First of all, great library!
I am developing a Visual Studio plugin. When testing the plugin it opens a new instance of Visual Studio so that I have two open at the same time. It is also possible to set breakpoints so I am able to see what happens in my plugin. My plugin uses your library.
My problem is that when I use your hook my mouse freezes for 10 seconds when it jumps from my Visual Studio plugin that uses the hook, to Visual Studio that I am developing in when I am debugging. I believe this is because the hook event is never terminated.
Only when some seconds has elapsed.
Is there some way to avoid this? Or is it possible to change the "freeze time"?
I hope it is possible to understand.