Results 1 to 2 of 2

Thread: [RESOLVED] This is possible? Hotspot in PictureBox

  1. #1

    Thread Starter
    Lively Member jpgonc's Avatar
    Join Date
    May 2005
    Posts
    75

    Resolved [RESOLVED] This is possible? Hotspot in PictureBox

    It is possible to put some kind of hotspots in a graphical picture using a PictureBox? I want to interact with the mouse... there's a way to do this?
    ----------------------------------------------------
    Centaurs were mythological creatures like chimeras and satyrs and they had a tendency to violence, except Chiron, who taught Greek heroes.
    ----------------------------------------------------

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: This is possible? Hotspot in PictureBox

    Yeah, just test the mouse coordinates from inside the mousemove event of the picturebox.

    VB Code:
    1. if e.x >= 20 andalso e.x < 120 and also e.y >= 20 andalso e.y < 120 then
    2. 'do something
    3. end if
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width