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.
Printable View
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.
Can you post your code that is within your form?
Quote:
Originally Posted by VB6Learner
vb Code:
Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown Label1.Text = e.Button.ToString End Sub
yeah, that's basically what my code looks like