Results 1 to 2 of 2

Thread: right button down

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Posts
    471

    right button down

    How to detect mouse right button down? thanks

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    39
    Code:
        Private Sub Button2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Button2.MouseDown
            If e.Button = MouseButtons.Right Then
                'do what you wanna do
            End If
        End Sub
    /Nisse

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width