A
Anand Ganesh
Hi All,
In my application I am allowing the user to draw a line. But when the user
clicks the start point and starts moving the mouse there is a series of line
generated. When the mouse is up the final line is drawn.
How to avoid the series of lines being generated during mouse move event?
How to get the rubberband effect when the user moves the mouse?
I tried using the ControlPaint.Reversible line but this does not help
because the mouse cursor and the drawn line does not lie in the same
co-ordinates. There is always an offset. I even tried PointtoScreen and
there is still an offset.
Is there any solution for this?
Can anybody please help. Thanks for your time.
Thanks
Anand Ganesj
In my application I am allowing the user to draw a line. But when the user
clicks the start point and starts moving the mouse there is a series of line
generated. When the mouse is up the final line is drawn.
How to avoid the series of lines being generated during mouse move event?
How to get the rubberband effect when the user moves the mouse?
I tried using the ControlPaint.Reversible line but this does not help
because the mouse cursor and the drawn line does not lie in the same
co-ordinates. There is always an offset. I even tried PointtoScreen and
there is still an offset.
Is there any solution for this?
Can anybody please help. Thanks for your time.
Thanks
Anand Ganesj