M
Michi Oshima
Hi,
I'd like to know how I can set up separate command bars for normal
Word windows and word window as the email editor for Outlook.
I have an Outlook add-in and Word add-in, both implemented in C#. (I
am currently using Office XP PIAs, targeting Office 2000, Office XP,
and Office 2003.) Each of the add-ins creates toolbar buttons. This
means, however, when Word is used as the email editor for Outlook, the
user would see toolbars buttons for both the Outlook add-in and the
Word add-in. I would like the command bars to not have Word add-in's
toolbar buttons, when Word is used as the email editor for Outlook.
Similarly, I would like the command bars to not have Outlook add-in's
buttons when Word is just used as normal application.
When Word is used solely as Outlook email editor, this isn't a
problem; I'd just hide or delete (or even not create) Word add-in's
toolbar buttons, and just show or unhide (or create) Outlook add-in's
toolbar buttons only. When Word is solely used as a normal Word
application, then it is similarly not a problem. It is when the user
wants to simultaneously compose an email with Word as Outlook's email
editor and compose a normal Word document that I find myself not
knowing what to do. Any creation and deletion of items in the command
bars seems to affect both Word as email editor and normal Word window.
The problem as I see it is that Word's command bars seem to be an
application wide shared resource. What I want to is a "per window"
customization of command bars. Is this possible? How would I do it?
Any help you can provide is greatly appreciated.
Michi Oshima.
I'd like to know how I can set up separate command bars for normal
Word windows and word window as the email editor for Outlook.
I have an Outlook add-in and Word add-in, both implemented in C#. (I
am currently using Office XP PIAs, targeting Office 2000, Office XP,
and Office 2003.) Each of the add-ins creates toolbar buttons. This
means, however, when Word is used as the email editor for Outlook, the
user would see toolbars buttons for both the Outlook add-in and the
Word add-in. I would like the command bars to not have Word add-in's
toolbar buttons, when Word is used as the email editor for Outlook.
Similarly, I would like the command bars to not have Outlook add-in's
buttons when Word is just used as normal application.
When Word is used solely as Outlook email editor, this isn't a
problem; I'd just hide or delete (or even not create) Word add-in's
toolbar buttons, and just show or unhide (or create) Outlook add-in's
toolbar buttons only. When Word is solely used as a normal Word
application, then it is similarly not a problem. It is when the user
wants to simultaneously compose an email with Word as Outlook's email
editor and compose a normal Word document that I find myself not
knowing what to do. Any creation and deletion of items in the command
bars seems to affect both Word as email editor and normal Word window.
The problem as I see it is that Word's command bars seem to be an
application wide shared resource. What I want to is a "per window"
customization of command bars. Is this possible? How would I do it?
Any help you can provide is greatly appreciated.
Michi Oshima.