1. Split your image into several "jigsaw" pieces and display them
all fitting nicely together. Your app would know exactly which image
section was clicked. This would be relatively easy, but you would
be limited to rectangular areas.
2. Create a bunch of regions that overlay your image (look up
CreateRectRgn and other similar functions). You then
perform hit testing in the mouse down event with the PtInRegion
function to see which region was clicked and perform the
appropriate action. You could outline the region by pmNotXOr - drawing
around that region, since you've already written the code that defines
the region.
The second method is more flexible and much more fun <g>
--
Jeremy Collins
Kansai Business Systems
Rene
> Can I create an image map like in some websites in Delphi 4?
> I'm making a virtual tour type program. So when someone clicks on one area
> of an image the whole image is changed.
You may want to check out a book that was called something
like the Delphi Mulitimedia construction set , I think by
Coriolis, it has chapters dedicated to this exact probelm.
Ravi Singh
Quote:> Can I create an image map like in some websites in Delphi 4?
> I'm making a virtual tour type program. So when someone clicks on one area
> of an image the whole image is changed.
> Justin,
> You may want to check out a book that was called something
> like the Delphi Mulitimedia construction set , I think by
> Coriolis, it has chapters dedicated to this exact probelm.
> Ravi Singh
> > Can I create an image map like in some websites in Delphi 4?
> > I'm making a virtual tour type program. So when someone clicks on one area
> > of an image the whole image is changed.
bye
--
David Bouffard
Qubec,Canada.
pour me contact enlever SPAM de mon adresse de courrier lectronique.
to contact me remove SPAM from my e-mail address.
1. Image mapping, filtering and bump mapping.
Hi,
I've got a grayscale map of the moon and applied it to a sphere. It
already looks good but how can I get the moon to look a bit yellowish
without editing my imagemap of the moon and does POV-Ray 3.1 support
bumpmaps so that I can create a bumpmap of my imagemap of the moon using
an image editor and apply it to my moon object?
I played arround with pigment maps and tecture maps but didn't get the
results I was looking for.
I just want my moon to become a bit yellowish and bumpy without editing
my grayscale imagemap of the moon because I can always do that at a
later stage.
note: I use POV-Ray 3.1.
Rob Verweij
http://www.home-3.worldonline.nl/~rgv3d
2. HP ScanJet 3c Transparency Adapter ?
5. Searching for image-map and texture-map utils
6. Problem with Corel10 upgrade version
7. Image map + bump map weird problem.
8. Manuals and Image Mapping/Image Slicer PSP7
9. Why use Image ready Image Maps??
10. image slicing for image maps(web)
11. Anyone Know How To Work With Images (image map i think)