Link to home
Start Free TrialLog in
Avatar of tentavarious
tentavarious

asked on

mouse over effects in vb.net winform? Changing button image

Hello experts, is there an easy way to change the image of a button when I mouse over the button?  I am using visual studio.net 2003.  This is a very easy to in a web form usually requiring a small bit of javascript.  I am, however, having difficulty getting this to work on my winform.  I have a button object on my form that has an image on it, I want to change the image when I move the mouse across the button.  What I have found on the net is that it takes a lot of code and I have to dig into the GDI class to make it work.  
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tentavarious
tentavarious

ASKER

Well, I must be missing a step, the image changes on mouseover but I my initial image does not come back it just becomes a blank button.
Never mind found the answer, thanks for the help great work.