C
Colin McGuire
Hi, I have a child form - when the mouse is over the button on the
parent form, I show the child form. When the mouse cursor is moved
away from the button, I hide the child form.
My child form hiding code can override either OnMouseLeave or OnLeave,
and both work okay.
The online documentation for both events says "This is the preferred
technique for handling the event in a derived class."
Although my code works for both, I want to code it properly. Any
suggestions on which routine should I really be overriding and more
importantly why?
Thank you
Colin
parent form, I show the child form. When the mouse cursor is moved
away from the button, I hide the child form.
My child form hiding code can override either OnMouseLeave or OnLeave,
and both work okay.
The online documentation for both events says "This is the preferred
technique for handling the event in a derived class."
Although my code works for both, I want to code it properly. Any
suggestions on which routine should I really be overriding and more
importantly why?
Thank you
Colin