Visual Basic mouse click event based on mouse coordinate

sandmanwake

Golden Member
Feb 29, 2000
1,494
0
0
Suppose I have a picture in a form. Depending on where on the picture the mouse click occurs, I want different things to occur. How do I do this?
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
The mouse click interrupt may give you back coordinates, or you can request the cursor position.
Then map the position to within the picture.