Click to See Complete Forum and Search --> : Events to detect Drawn Objects


Sumit Saha Roy
07-27-2004, 12:06 PM
Hello,
I have drawn some lines,rectangle on a picturebox.Now I want to detect any of the drawn object by mouse click on drawing.can
any body help me?
Thanks.
Sumit

tanmoymoitra
07-29-2004, 03:57 AM
HI Sumit,

Since u yourself r drawing the Lines so u know the coordinates... u can then write code in the Mousemove event so that whenever it reaches on those coordinates do whatever action u want him to perform