多个进程渲染到一个窗口 [英] Multiple processes rendering to one window

查看:365
本文介绍了多个进程渲染到一个窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多个进程渲染到一个窗口

Multiple processes rendering to one window

两个进程,两个窗口,但一个窗口充当另一个窗口的子窗口. 例如,一个窗口包含一个编辑ctrl,但是该编辑ctrl属于另一个进程. 如何实现这样的MFC应用程序?

Two processes, two windows, but one window acts as another window's child window. For example a window contain a edit ctrl, but the edit ctrl is belong to another process. How can I implement such a MFC application?

推荐答案

实际上,您可以实现这一点,但是有一定的局限性.

Actually you can achieve this, but has some limitation.

例如,您可以在应用程序中嵌入MS word. Word窗口作为子窗口嵌入到您的应用程序中.但实际上,还有另一个进程winword.exe.

For example, you can embed MS word in your app. The Word window is embedded as a child window in your app. but actually, there is another process winword.exe.

您的应用充当复合文档容器,嵌入式应用充当复合文档服务器.

Your app works as compound document container and the embedded one act as compound document server.

请从MSDN中找到与复合文档"相关的内容.

Please find "compound document" related stuff from MSDN.

这篇关于多个进程渲染到一个窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆