ahmad raza
November 2nd, 1998, 10:43 PM
I want to create hot spots on images of bitmaps in visual basic
with link what should i done .
Thanks
raza@sgd.nexlinx.net.pk
with link what should i done .
Thanks
raza@sgd.nexlinx.net.pk
|
Click to See Complete Forum and Search --> : how i can create hotspot on images or bitmaps ahmad raza November 2nd, 1998, 10:43 PM I want to create hot spots on images of bitmaps in visual basic with link what should i done . Thanks raza@sgd.nexlinx.net.pk Crazy D November 3rd, 1998, 07:46 AM You mean like on the web? An easy way is this: place the bitmap on the form where you want it, and put a transparant picturebox on the place which should be the hotspot. Then you use the picturebox_click to execute the link. maudie June 22nd, 1999, 02:36 PM Hi CrazyD, You have mentioned "Transparent picturebox's" How do you make these ? Do you mean 'visible = false' ? Roger :-).................. Crazy D June 23rd, 1999, 12:28 PM Drop an imagine control on the picture and use it's click event (an imaginecontrol with no picture is transparant) maudie June 23rd, 1999, 01:50 PM Hi CrazyD Thanks for reply; You originally said PictureBox not Image Control. I'm searching to make a picturebox background transparent (Another post) but I don't think it's possible. My problem is that if I have a picturebox with a transparent picture in it, and I want to drag this picture over another picturebox picture, then picturebox1 rectangular background outline is VISIBLE ! Pass the PROZAC !!! Best wishes....:-(................ June 23rd, 1999, 01:55 PM If you're trying to implement drag & drop with a transparent picture, why not use icons ? VB3 had a great (if not a bit clunky) icon editor - ICONWORKS. If you make the areas you want transparent white, then copy the icon to the clipboard, then do file>>new, the paste, the white areas become transparent! maudie June 24th, 1999, 11:14 AM Thanks for reply Anon ;-).......................... Nathalie July 3rd, 1999, 10:24 AM You can create hotspot on a image by create some regions: CreateRectRgn (rectangle region), CreateEllipticRgn (round region) and use PtInRgn to retrieve the region where the user click. I hope you understand me (I'm french, sorry for my english). Nathalie d_wzrdv_z July 26th, 1999, 09:01 PM Mate, you VB programmers are so much livlier than us over at Visual C codeguru....I stumbled in here by accident and now I'm rueing my career decision...this tip should work under VC though anyway - Thanks! \_|_|_|_/ oOOOOOo (*^@ @^*) | O | \&_&/ __-__ /?;|;?\ D_WZRDV_Z <IMG SRC="http://www.geocities.com/SiliconValley/Bay/1542/Dee_Wiz.jpg"> codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |