L
Linas Mikutaitis
Hi all,
I have a problem dynamicly adding/deleting buttons in Word 2003 C# COM
Add-in toolbar (created by add-in). The toolbar isn't refreshed on all Word
documents windows. Here are reprod. steps:
1. User presses some add-in toolbar button and there is a
MsoButtonStyle.msoButtonCaption type button with some caption created
2. Open (or make new)/close some Word documents (make a few - 3 or more -
Word documents windows)
3. When user again presses some button I delete in step 1 created button but
changes in the toolbar are visible only on some documents windows (eg.: if
you have 3 documents, the toolbar in one of them remains with deleted button
visible). The same happens if I try to hide the button (set Visible to
false) or just change button caption - still changes are applied not on
every document window opened.
How to ensure that toolbar always gets refreshed in every document window?
thanks,
Linas
I have a problem dynamicly adding/deleting buttons in Word 2003 C# COM
Add-in toolbar (created by add-in). The toolbar isn't refreshed on all Word
documents windows. Here are reprod. steps:
1. User presses some add-in toolbar button and there is a
MsoButtonStyle.msoButtonCaption type button with some caption created
2. Open (or make new)/close some Word documents (make a few - 3 or more -
Word documents windows)
3. When user again presses some button I delete in step 1 created button but
changes in the toolbar are visible only on some documents windows (eg.: if
you have 3 documents, the toolbar in one of them remains with deleted button
visible). The same happens if I try to hide the button (set Visible to
false) or just change button caption - still changes are applied not on
every document window opened.
How to ensure that toolbar always gets refreshed in every document window?
thanks,
Linas