Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Mouse position...

Apr 7 2003 5:43 PM
Hi everyone :) I don't speak english very well (I'm French), but I am gonna try to be understood... Here is my problem. I'd like to get the mouse position on my form, but I don't manage to do it. In fact, I can only get it when the mouse is over a control such as a pictureBox. If I use the Form_mouseMove event and the e.X and e.Y vars, it only works when the mouse isn't over any control, which is very useless. So I would love you if you gave me the solution to my problem... Moreover, is it possible to get the mouse position wherever it is (even out of the form) ? Thanks Supernico, a hopeless french guy...

Answers (2)