开发者

Put multiple Word document windows into the same parent window

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 int开发者_开发技巧o the same parent window and use tabs to switch among them?

Attached this screenshot to illustrate how that addin works:

Put multiple Word document windows into the same parent window


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.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜