Detect Area That Mouseclick is within...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • genericuser
    New Member
    • Oct 2011
    • 1

    Detect Area That Mouseclick is within...

    hey guys :)
    im writing a basic login program, and i want to include a picture login. the only problem is, i dont know how to detect where a click occurs. the click would be on a picturebox, so im guessing, it would come under the picturebox click event, and use an if statement to say if within (x,y) and (x,y) and (x,y) and (x,y) then carry out the function. i found something similar here,
    http://bytes.com/topic/visual-basic-net/answers/496295-detect-right-mouse-click-key-press

    thankyou for any help :D
Working...