I want to create a dot net window rollover, as in html, so that certain sections of a graphic are highlighted on mouse rollover, then clickable to trigger an action....any simple code for this to start me off? Thanx again guys.

Ok, See below. The first is the dot net window with background graphic. The next three are the rollover animation, perhaps a gif animation? When clicking on the associated region, an event is triggered, such as bone creation. Thanks for your time.

It reads the clickmaps from the html file, then build an array with coords form it, and filters it on the imgtag when you click on it. At some point I had written a get/set pixels function to also allow mouse over effects, but can't find the code anymore. This was written pre .net era, also look up LoneRobot's site and get some .net inspiration.

Originally Posted by DannyBoy3:I want to create a dot net window rollover, as in html, so that certain sections of a graphic are highlighted on mouse rollover, then clickable to trigger an action....any simple code for this to start me off?

a .NET solution can be the using of GraphicsPath and control's region... here is a sample:

Interesting. Thanks a lot denis. So I suppose you could have a button on top of a form with it's own background graphic which you could make visible on mouse over, so it creates in effect rollover image.

Originally Posted by DannyBoy3:Interesting. Thanks a lot denis. So I suppose you could have a button on top of a form with it's own background graphic which you could make visible on mouse over, so it creates in effect rollover image.

Hmm . I tried to create an event handler function that changed the background image on the button on mouse over but it wouldn't do it for some reason. I also tried to make it visible on mouse over but it wouldn't do that either.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com