Results 1 to 4 of 4

Thread: [2008] Mouse Help

  1. #1

    Thread Starter
    Member Giver's Avatar
    Join Date
    Aug 2008
    Posts
    39

    Question [2008] Mouse Help

    Hi, I want to make a program which detects if the mouse buttons are down or if they are up. I know how to do it within the form, I want to know how to outside of the form. Please help.

  2. #2
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    493

    Re: [2008] Mouse Help

    Can you post your code that is within your form?

  3. #3
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    Re: [2008] Mouse Help

    Quote Originally Posted by VB6Learner
    Can you post your code that is within your form?
    vb Code:
    1. Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown
    2.         Label1.Text = e.Button.ToString
    3.     End Sub

  4. #4

    Thread Starter
    Member Giver's Avatar
    Join Date
    Aug 2008
    Posts
    39

    Re: [2008] Mouse Help

    yeah, that's basically what my code looks like

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