How do i get the mouse position?
-edit- I dont need the answer anymore now that i calculate based on mousedown position.
Basically in relation to this question It seems like e.X,y and e.Location.X,Y is开发者_Go百科 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.
Did you try to do this ( assuming your control is named picbox )
Point pt = picbox.PointToClient(point)
精彩评论