[英]How to host a WPF form in a MFC application
I'm looking for any resources on hosting a WPF form within an existing MFC application. 我正在寻找在现有MFC应用程序中托管WPF表单的任何资源。 Can anyone point me in the right direction on how to do this?
任何人都可以指出我正确的方向如何做到这一点?
From what I understand (haven't tried myself), it's almost as simple as just giving the WPF control the parent's handle. 根据我的理解(没有尝试过自己),它几乎就像给WPF控件父母的句柄一样简单。 Here's a Walkthrough: Hosting WPF Content in Win32 .
这是一个演练:在Win32中托管WPF内容 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.