Hi,

I'm developing an Activex Command Button like IE Button. It's my first experience in making OCX and I'm in trouble.
When the mouse is over the button I draw the frame around it (using the MouseMove method), but when the mouse is out of the control I need to erase that Frames. My problem is how to detect when the mouse IS OUT of the button. Do you know how can I do that?

Thank you for any help

Michel Junior
[email protected]