Hello, I've made a mouse low level hook and it works fine except one problem: the procedure's param.
here's my code: http://pastebin.com/X2198UTb
My HookProc located in the middle of the code under my comment.
Is it a problem or it should be like that? if it should be like that - how can I know which window should get the right click? /// I added a condition to activate the event - right click.