Ok, Now I'm totally confused on MouseDown...

B

Bill Mitchell

I was under the impression that MouseDown gave you the X, Y coordinates for
wherever you happen to be on a form in relation to the Desktop.

Now I see that, if for instance you use MouseDown in a control, X and Y
returns values for your mouse location within that control and not on ur
desktop.

Ugh, I don't see what good it does for me to know the coordinates inside my
control.

Is there anything that will give me the location of my mouse in X, Y on my
desktop???

Bill
 
A

Andi Mayer

I was under the impression that MouseDown gave you the X, Y coordinates for
wherever you happen to be on a form in relation to the Desktop.
How often you wan't to ask this similar question again?

Mouse Coordinates are given for the control (the control can have the
size of the whole form !!!), you can add the left and top of the
control, then you are inside the form and you can add the Left and Top
of the Form, then you know the possition inside the Access-window.

If you want the real position on the screen, you have to work with
api's. I wouldn't recommend this approach to you, You would post every
single Minute then to overcome the differences beetween the Access and
Windows coordinates system.


If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
 
B

Bill Mitchell

Andi,

Please do me a favor and save me your worthless responses in the future.
You are obviously a major prick with your attitude. To make it worse, your
answer told me nothing I didn't already know and didn't already state in my
question.

Seriously, Reply's in this NewsGroup should be limited to those that have a
clue and don't get off on being dickheads to those who aren't as "expert" as
they.

K.M.A.Y.W.P.O.S. (figure that one out genius)

Bill
 
A

Andi Mayer

mousedown events for a control gives you the coordinates of the
control

mousedown events for a form gives you the coordinates of the form

what do you want to do with the coordinates?

If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
 
Top