left or right that's the question! (VB)

bzbiz

Freshman
Joined
Mar 17, 2003
Messages
34
Location
Emilia - Italy
left or right that's the question!

Hi Folks!

How can i know if something has been clicked with the 'right' or the 'left' mouse button?

note:

Something = notifyicon, in this case.

Thx in advance.

BiZ:cool:
 
You have to use mouse down or which ever one you one of the mouse events and check what key is pressed with the e.Button:
Visual Basic:
        If e.Button = MouseButtons.Left Then
            MsgBox("Left cliked")
        End If
 
Back
Top