I blogged about this issue before and even showed a possible workaround.
With WPF 4.5 the issue is finally solved!
To do this 2 extra properties are added to the HwndHost class(the base class for WindowsFormsHost): IsRedirected and CompositionMode.
- IsRedirected: Set this property to true to solve the airspace problem. (It’s not enabled by default.)
- CompositionMode: Specified how deep the integration should go. It has multiple possible values:
- None: this is the default behavior and no integration is done: the airspace problems are still here.
- OutputOnly: The airspace problem are solved but the user (and the input system) can’t interact with the hosted win32 component.
- Full: the airspace problems are solved and interaction with the win32 component is possible.
Remark 2: Someone mentioned in the comments that this feature is removed in the final version of .NET 4.5. I double checked it and indeed I couldn't find it :-(
On the MSDN forums I found the following info from the