Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a graphic with hotspots.

Status
Not open for further replies.

crosstec

Programmer
Mar 7, 2002
6
US
I am creating an application that allows the user to select an image (from the hard drive), which may be something like a break-down of a piece of equipment, show the image, then zoom or scroll to the area of the image needed, and then create hotspots on the image (replacement parts for the piece of equipment) that are linked to records in a database.

I first tried using a normal image control to display the image. Problem with that is: no ability to zoom, scroll, etc. - so I created some scroll bars using shapes, buttons, etc. to simulate this effect. The images are large, so it's really slow.

Next, I found the Kodak imaging control, dropped it on the form and used it. Zooming works great, scrolling does some screwy things, so I am using the scroll bars I created. Problem with the Kodak imaging control is this: I cannot get the hotspots to show up (I'm using invisible buttons in a container object to give a highlighted border on the hotspot). Seems I can't get anything to show up on this ActiveX control.

Anybody have any suggestions as to what I can do to make this work?

Thanks in advance,

CrossTec
 
Thanks Chris,

I'll try that and see how that works.

CrossTec
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top