Any idea where I could find an example (using vb) to accomplish that ?
Interesting choice of words. Not "any idea how to do that?" Not "any idea
what I need to know to do that?" Instead, very specifically, you ask for
code (in VB.Net specifically) to do that.
The answer is, of course, no. And you're eventually going to find that,
amazingly, there isn't a snippet of code somewhere on the Internet that can
do everything that can be done in an application.
Programming is not the process of putting snippets together. If it was, we
could pay automotive assembly-line workers $10 an hour to put programs
together. Programming is the process of conceiving, designing, researching,
and, yes, writing code.
So, rather than giving you the fish you are asking for (for one thing it
would take me too long to write it), I'm going to point you in the right
direction, and pray that you follow it.
We're talking about a browser here, and an HTML document. While I haven't
ever used any OWCs, I would imagine that the out put is an image. If so, and
taking the HTML enviornment into consideration, you would need to
dynamically create an image map in the HTML document that contains the
image. An image map is an array of corrdinates which divide up an image into
sections. When you click one of the sections, a different URL can be
navigated to, or a JavaScript function can be called. You can also create
onmouseover events for the indivdual slices of the image. See the following
URL for details:
http://www.google.com/search?hl=en&q=ImageMap+onmouseover
You will need to research how to do a tooltip as well. That can also be
Googled.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.