Closing a hook that captures global input events
- by Margus
Intro
Here is an example to illustrate the problem. Consider I am tracking and displaying mouse global current position and last click button and position to the user. Here is an image:
To archive capturing click events on windows box, that would and will be sent to the other programs event messaging queue, I create a hook using winapi namely…