How do i get the mouse position?

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-04-27T22:48:31Z Indexed on 2010/04/27 22:53 UTC
Read the original article Hit count: 220

Filed under:
|
|

Basically in relation to this question It seems like e.X,y and e.Location.X,Y is relative to mousedown? I seen negative values when i havent moved it left/above the parent picbox.

So it seems like the values are relative to my mousedown, but i need values relative to the parent because i update the left/top every event and other datat and relative to mousedown is breaking my code.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET