Adagio
Well-known member
- Joined
- Dec 12, 2005
- Messages
- 162
- Programming Experience
- Beginner
I have spent a lot of time trying to find a good tutorial on GDI+, but so far no luck
I can find lots of tutorials telling me how to load an image and show it, that's not the problem, my problem is I have no idea how to do this based on what I do later in the program. Right now I'm just trying to get a simple hover effect (mouse off the image, show image1, mouse over image, show image2)
My coding 'seems' correct, as if I start the program with the mouse over the image, image2 is shown, else image1 is shown. This is how it should be. Though when I move the mouse out of (or into) the image nothing happens, though by using breakpoints I'm 100% sure that the draw() method is run
I can find lots of tutorials telling me how to load an image and show it, that's not the problem, my problem is I have no idea how to do this based on what I do later in the program. Right now I'm just trying to get a simple hover effect (mouse off the image, show image1, mouse over image, show image2)
My coding 'seems' correct, as if I start the program with the mouse over the image, image2 is shown, else image1 is shown. This is how it should be. Though when I move the mouse out of (or into) the image nothing happens, though by using breakpoints I'm 100% sure that the draw() method is run