Input events

Jan 27, 2009 at 11:41 AM
Is there any change to implement mouse events triggering within VisualWrapper?
Thanks
Coordinator
Jan 28, 2009 at 6:20 AM

Unfortunately not.  Win32 handles reporting the WM_MOUSEMOVE (etc) messages to the top-level window.  Win32 does allow a child window to run on a separate thread, but the HostVisual/VisualTarget is not an HWND, so Win32 delivers the messages to the top-level window.  WPF does not route events across the HostVisual/VisualTarget boundary.