Shift+click

dentis2l

New member
Joined
Sep 20, 2006
Messages
2
Programming Experience
Beginner
Hello,

I would like to have an event when SHIFT KEY is PRESSED and I hit left mouse for example.
I know how to trigger a click event, but I don't know how to find out if the SHIFT key is pressed meanwhile. I use VB.Net 2005
If you know the solution to my issue, please let me know what that is.

Thank you,
Dent
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,540
Location
Norway
Programming Experience
10+
Key pressing triggers the Key Down and Up events, so you know when the key is down and up and can store this information in a variable, then you can check this variable in mouse events.
 
Top Bottom