determining where the user clicked on a picture...

dotolee

Member
Joined
Nov 30, 2004
Messages
20
Programming Experience
10+
hi.
i need to display a graphic in a windows or web form. this graphic / image will have several regions. each region will be assigned a value from 0 - 6. depending on where they click, i want to capture the region value.
in order to do something like this, what type of an image object should i create? has anyone tried this before? can you direct me to some examples?
thank you!
 
In a web app you can create an image map but there's no such thing in WinForms. You'd just have to get the cursor position and then work it out for yourself. Are these regions regular or irregular?
 
Back
Top