MouseLeave event and child HTML control

I have been able to place an HTML edit control on top of the WPFE control so that it appears as if the edit control is inside the WPFE control. How do I determine in the callback for the Canvas MouseLeave event that the mouse actually went outside the canvas and not into the edit control?

__
|Canvas |
| |
| |Edit control | |
| |
| |
||

Michael S. Scherotter
Mindjet Labs
http://mindjetlabs.com

[743 byte] By [mscherotter] at [2007-12-31]
# 1

You could do this by checking the cursor position to see if it is outside the Canvas using the Canvas.Left/Top and ActualWidth/Height properties. That is probably going to be your best bet.

Let me know if you need an example...

BryantLikes at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...