hi
please i want to use mouse move event in windows form to get mouse coordinates to show it in the form.and using this coordinates use the events mouse up and mouse down to draw a line .
thanks
komino
0
Newbie Poster
Recommended Answers
Jump to PostSounds like homework :) lol.
This is so easy. rig up your mouse down and mouse up events and create class variables of type Point. Then get the mouse coordinates with the event arguments on mouse down, save it to the first. then on mouse up get the mouse …
All 3 Replies
Diamonddrake
397
Master Poster
ddanbe
commented:
Good answer!
+6
Geekitygeek
480
Nearly a Posting Virtuoso
ddanbe
commented:
Nice addition to what Diamonddrake said.
+6
Texada
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.