Here's the answer http://blogs.msdn.com/b/mhendersblog/archive/2005/10/04/476921.aspx
It can be done using WindowsInteropHelper.
سؤال
It is known, WPF dialog needs property 'Owner' to be topmost only for the current application.
How to handle the situation if the current application is a WinForms one that has a WPF-dialog?
المحلول 2
Here's the answer http://blogs.msdn.com/b/mhendersblog/archive/2005/10/04/476921.aspx
It can be done using WindowsInteropHelper.
نصائح أخرى
Take a look at the Window.Topmost Property at MSDN.
Setting Topmost="True"
on the dialogue window should do the trick.
You may want to also set this in a Window.Deactivated
and Window.LostFocus
event handlers.