Results 1 to 3 of 3

Thread: Defining an Area In A Picture

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    65

    Post

    Is It Possible To Define A Certain Area Of An Image So That When Your Mouse Goes Over This Area It Changes Your Cursor to another cursor you have and when you click on that area and that area it does a sub for that click?

  2. #2
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    Hey Insane man

    Here's a solution, not pretty but it works for me.
    On the image, place labels where you wan't the "hotspots" to be and set their properties to the following
    Backstyle=0(transparent)
    Borderstyle=0(None)
    Caption=""
    Mousepointer=1-15,99(99=custom)


    Then just put your code in the _click event.

    It may be that there's other more efficent ways to do this but hey it works fine for me.
    maybe it will work for you to. That depends on what you wanna do

    ------------------
    On Error Goto Bed :0)
    [email protected]




    [This message has been edited by onerrorgoto (edited 11-29-1999).]

  3. #3
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    Yeah!
    I was going to suggest the same as onerrorgoto but using empty images on a picturebox

    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

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