How would I host an external application in WPF?
Question
How can I host a (.Net, Java, VB6, MFC, etc) application in a WPF window. I have a need to use WPF windows to wrap external applications and control the window size and location. does anyone have any ideas on how to accomplish this or a direction to research in?
Solution
Use a HwndHost to host the outside window in your application.
OTHER TIPS
This article explains how to use HwndHost along with a few other Win32 API calls to accomplish the task.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow