atk
11/17/2004 4:26:00 PM
Hello,
the application I am working on consists of a graphing UserControl and a
test Forms app. The user can plot points and connect them with lines on the
graphing surface of the control. The goal is to map those points'
coordinates to the X,Y coordinates of the mouse when it hovers over such a
point. The problem is mouse and points use different coord. systems. I
convert mouse X,Y to client X,Y with Control.PointToClient (thanks to Tim
Wilson!) but still can never map these to any client point coordinates.
How to achieve this? Please help!
TIA