Mouse movement on Image

Hi, i am new in this forum. I have searched through this forum and found another post about mouse movement but it is somewhat different, so i am actually kind of stuck.

I have a main menu up with buttons, and are able to use VK_UP, VK_DOWN for selected image and normal image, i used a switch case for this. But as for mouse i wanted to do a onhover, onclick and a normal button, so i am not sure how to do it.

So far, i only managed to do a VK_LBUTTON and when click go to another window but basically it doesn't check on the axis and i can click anywhere on the window and manged to go to the next window.

Not sure how to do this, so hope someone can guide me on this.

Thanks
Subclass it.
Erm, can you elaborate more on subclass? I have never tried using it before, so i am not sure how it works.

But still thanks for telling me that, i will try to google on it first.
Last edited on
Topic archived. No new replies allowed.