Calvin Nguyen
Posts: 15
Joined: 2006-09-29
|
hi,
what I am doing is developing an Outlook add-in that dynamically
assigns button images in inspector windows. the buttons are usually but not always the same in number. they are always contained in one command bar. however the button images vary. basically my app must support any number of inspectors, each with its own unique set of button images.
to keep track of which images belong with which inspector, I use the
popular method of holding a collection of inspector wrapper / info
objects.
getting to the point... my code works fine with Word editing disabled. turn it on however and all inspector command bars are suddenly linked
together. activate one inspector and you can see all the inspectors in
the background change! that is, the buttons in all the inactive
inspectors change to match those of the active inspector.
I have an idea why this is happening. Outlook is capable of organizing
multiple inspector windows. Word is not. I am guessing when Word is
enabled, there is somehow only one instance of it that exists. regardless of how many inspectors you have open.
is this correct? does anyone have a solution? can anyone confirm
whether or not the limitations of Word will ever allow my add-in to
work properly with it enabled?
thx a lot |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Calvin.
Do you hide/show command bars and its buttons in the InspectorActivate event handler?
|
|
Calvin Nguyen
Posts: 15
Joined: 2006-09-29
|
Hi Sergey,
Yes, this is exactly what I am doing. Images and captions are assigned on InspectorActivate.
What would you recommend as a solution to this problem of inspectors being "connected" when Word is turned on?
Thanks a million,
Calvin |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Calvin.
I am afraid there is no solution for this issue.
This is the known issue of Outlook + Word.
|
|