Link to home
Create AccountLog 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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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.