Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WinformsHost Airspace/Overlap issue still present in 4.5?

$
0
0

Hi all,

I have a question in regards to using WindowsFormHost element with overlapping controls.

I know that in the past this was indeed an issue and I was wondering if it is still present.

According to this blog, the issue is supposed to be resolved in the framework 4.5:

http://www.jonathanantoine.com/2011/09/24/wpf-4-5-%E2%80%93-part-8-no-more-airspace-problems-integrating-wpf-with-win32/

But if I read from MSDN for the framework 4.5 I see the following:

http://msdn.microsoft.com/en-us/library/ms744952(v=vs.110).aspx

In particular this:

Z-order                 
                

In a WPF user interface, you can change the z-order of elements to control overlapping behavior. A hosted Windows Forms control is drawn in a separate HWND, so it is always drawn on top of WPF elements.

A hosted Windows Forms control is also drawn on top of any Adorner elements.

Maybe I am mixing the Z-Order and Airspace problems? I believe its the same thing?

My initial test seems to tell me the problem is still here, but maybe im not using it correctly.

Thanks for helping me clarify this.


Viewing all articles
Browse latest Browse all 18858

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>