Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·