hwndhost

Passing Input events from HwndHost to underlying WPF controls?

hi there, is there a way to pass input events (primarily mouse, but eventually keyboard input too) that occurs on a HwndHost back to the underlying WPF controls (e.g. a panel) ? i can hook up to WndProc within the HwndHost and recveive the windows messages. can i manually create a routedevent for a mouse click and send it to the parent...

Forcing initialization of a HwndHost

In my WPF application, I host Win32 content using HwndHost. However, creating a HwndHost does not create the native window. Rather, this is done in the overridden BuildWindowCore() method which is called sometime later by WPF. My hosted content needs the window handle of the native window for its own initialization. Unfortunately, there...