Sign in to follow this  
Followers 0
mikkioso

Problem getting VK_LBUTTON with keyboard hook

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0