Edwin Yip
Edwin Yip

Reputation: 4220

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 into the same parent window and use tabs to switch among them?

Attached this screenshot to illustrate how that addin works: screenshot

Upvotes: 1

Views: 2243

Answers (1)

DarinH
DarinH

Reputation: 4889

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.

Upvotes: 1

Related Questions