qkrwngml
asked on
Hold Shift key down and Mouse Click event
I would like to respond when user hold the shift key down and mouse click.
How can I catch these two events occuring at the same time?
How can I catch these two events occuring at the same time?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great mahesh1402!
Thanks
Thanks
to do that global, use a key/mouse hook
set a flag when shift is pressed, unset it when shift is released
now in the mouse hook, check if the good button is pressed, and check for the shift flag