
Getting MouseMove to pass XY Coordinates
-------------------------------
QUESTION #1 How would I get the MouseMove Sub to pass it's X, Y Coordinates
to the Click Sub, upon the click event? (I am wrting code that will respond
only if clicked on a certain part of the form. )
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single,
Y As Single)
<code>
End Sub
Private Sub Form_Click()
<code to receive the x and the y coordinate upon click>
End Sub
-----------------------------
QUESTION#2 Also, while still answering question1, Is there a standard code
that I could put in the click event to "tell me" the x, y coordinate, when
which when I click on the Form without using the mousemove sub to get the
coordinate?
Private Sub Form_Click()
<code to receive the x and the y coordinate upon click>
End Sub
Thank you in advance for sharing your knowledge with me.