detecting mouse being pushed
hi all. I am trying when the first mouse button is pushed on the computer then carry out code in my program.
In this software the project will NOT HAVE FOCUS.
do you have any code for this?
Printable View
detecting mouse being pushed
hi all. I am trying when the first mouse button is pushed on the computer then carry out code in my program.
In this software the project will NOT HAVE FOCUS.
do you have any code for this?
Really dont understand what you want,but if you want to detect when the mouse button has been pressed say on the form then
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
MsgBox ("The left mouse button has been pressed"), vbInformation
Any good
See this topic: http://www.vbforums.com/showthread.p...t+mouse+button