Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to host a WPF form in a MFC application

Tags:

c#

wpf

mfc

I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this?

like image 651
mkinkade Avatar asked Aug 14 '08 18:08

mkinkade


1 Answers

From what I understand (haven't tried myself), it's almost as simple as just giving the WPF control the parent's handle. Here's a Walkthrough: Hosting WPF Content in Win32.

like image 196
TheSmurf Avatar answered Sep 21 '22 13:09

TheSmurf