I am trying to figure out how to catch the fact that mouse is out of a control i got on a form. That is: I have some images on a form that i am using instead of buttons. The click event and mousemove events work fine. But i need to catch the fact that the mouse has left the control. Like an mouseout event. I have tried with just catching the mousemove event on the form, but if the images are to close and you move the mouse to fast its unstable. I am new to borland c++ so go easy on me
To sum up: I am trying to create a "webpage design" where i use images on a form with a rollover effect. No problems switching images using the mousemove event, however i am having trouble catching the fact that the mouse has left the control. I have also tried testing agains the width and height of the control againts the x and y of the mouse position, but with no luck. How do i go about this?
0 · ·