mikkioso Posted May 2, 2011 Share Posted May 2, 2011 Please I have tried all the different global keyboard hook examples here, but none is able to get VK_LBUTTON or all the other mouse click codes from 01-04 what is the problem, do I have to use a mouse hook to detect just the mouse click. Link to comment Share on other sites More sharing options...
jvanegmond Posted May 2, 2011 Share Posted May 2, 2011 Because you don't capture mouse with a keyboard hook: github.com/jvanegmond Link to comment Share on other sites More sharing options...
mikkioso Posted May 2, 2011 Author Share Posted May 2, 2011 Because you don't capture mouse with a keyboard hook: Thanks, So the keyboard hook doesn't return virtual key 01-04, can I use mouse hook and keyboard hook together in the same code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now