Information générale
Catégorie:
Gestionnaire d'écran & Écrans
The best way probably is to use a timer for that - what I did is to have a single timer object,ant control that needs a MouseOut event registers itself with this object.
What this timer does is to check if the current object under the mouse is the object it has registered and if it is not it calls the registered object ClearMouseEffect method
Arnon
>Hi,
> I have used image controls to show coolbutton effect in myform. It works fine. When I mouse move to myimage, it show the effect and back to normal when mouse move from the image. I place the code that "return" to normal effect in shape which placed around myimage controls. However, if I move the mouse to myimage control, and "leave" it very fast, the mouse move event of myshape is not fire. Myimage control keep showing the mousemove effect. How to solve it?
>
>Thank you
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement