在我的表单中显示另一个应用程序

发布于 2024-08-03 04:55:12 字数 111 浏览 3 评论 0原文

我记得我有一些应用程序启动了其他应用程序,并将它们以没有标题栏的形式放置在选项卡中。 我想知道如何才能做到这一点? 最好使用 C#,但如果在 .NET 中不可能/太难,C++ 也可以。

谢谢。

I remember I had some app the launched other applications and placed them in tabs in it's form without the titlebars.
I wonder how can that be done?
Preferably with C# but if it's not possible/too hard within .NET C++ is fine too.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一生独一 2024-08-10 04:55:12

Excel 和 Internet Explorer 等应用程序提供了嵌入其他窗口的特定支持 (OLE),因此第三方应用程序可以轻松地在自己的窗口中运行它们的实例。

如果您希望嵌入的应用程序不为其提供特定支持,则实现起来会困难得多。控制目标应用程序的窗口以使它们出现在您的选项卡中很容易,但是当涉及到删除/隐藏窗口的特定子部分(边框和菜单等)时,它会变得更加困难(所有这些都取决于确切的情况)您希望更改应用程序显示的哪些部分)。

Applications like Excel and Internet Explorer provide specific support (OLE) for being embedded in other windows, so third-party application can run an instance of them within their own window easily.

If the application you wish to embed doesn't supply specific support for it, it would be much harder to achieve. It's easy to control the target application's windows to make them appear to be in your tabs, but when it comes to removing/hiding specific sub-parts of the windows (borders and menus etc) it gets a lot more difficult (all depending on exactly which bits of the application's display you wish to alter).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文