将多个Word文档窗口放入同一父窗口中 [英] Put multiple Word document windows into the same parent window

查看:98
本文介绍了将多个Word文档窗口放入同一父窗口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

插件将文档标签"添加到Microsoft Word中,我想知道这是怎么做的?众所周知,根据Word的对象模型" API,每个Word文档都与一个独立的Word窗口相关联,该插件如何将多个Word文档窗口放入同一个父窗口并使用选项卡进行切换他们之中?

This addin adds 'document tabs' into Microsoft Word, I wonder how it's done? As we know, according to Word's 'Object Model' API, each Word document is associated with a standalone Word window, how can that addin put multiple Word document windows into the same parent window and use tabs to switch among them?

附上此屏幕快照以说明该插件的工作方式:

Attached this screenshot to illustrate how that addin works:

推荐答案

不知道该插件是如何具体实现的,但是如果我不得不猜测,我会说他们正在将单词放入MDI模式,并在其上创建选项卡重新加载用户界面,然后在单击选项卡时管理各个文档窗口的可见性.

No idea how that addin does it specifically, but If I had to guess, i'd say they were putting word into MDI mode, creating the tabs on they're addin ui and then managing the visibility of individual doc windows when you click on the tabs.

您可以通过取消选中在任务栏中显示所有窗口"选项将Word置于MDI模式.

You can put Word into MDI mode by unchecking the "Show all windows in the task bar" option.

这篇关于将多个Word文档窗口放入同一父窗口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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