Click to See Complete Forum and Search --> : Defining an Area In A Picture
Insane Killa
Nov 28th, 1999, 04:42 PM
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?
onerrorgoto
Nov 28th, 1999, 06:25 PM
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)
anders@zsystemdesign.se
[This message has been edited by onerrorgoto (edited 11-29-1999).]
Mark Sreeves
Nov 28th, 1999, 06:40 PM
Yeah!
I was going to suggest the same as onerrorgoto but using empty images on a picturebox
------------------
Mark Sreeves
Analyst Programmer
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.