F
Frenchy
Hello,
I developed an add-in for Word 2003 using the extensibility project in VS
2003 (C#).
I'd like to fire a specific event: when the user clicks on the "e-mail" icon.
In my add-in I check if appWord.ActiveWindow.EnvelopeVisible is set to false
during the Application_DocumentChange event.
Doing this I can ensure that my add-in only works with Word and not Outlook
BUT there's still a problem, I'd like to disable the commandbar of my add-in
when the user clicks on that envelope (called e-mail).
Is there a way to fire that specific event? Or is there a way to simply fire
a mouse click? Then I could check at each mouse click if envelope==true… But
the user could also use the keyboard to access that functionality ïŒ
Any help would be welcome
Thanks
I developed an add-in for Word 2003 using the extensibility project in VS
2003 (C#).
I'd like to fire a specific event: when the user clicks on the "e-mail" icon.
In my add-in I check if appWord.ActiveWindow.EnvelopeVisible is set to false
during the Application_DocumentChange event.
Doing this I can ensure that my add-in only works with Word and not Outlook
BUT there's still a problem, I'd like to disable the commandbar of my add-in
when the user clicks on that envelope (called e-mail).
Is there a way to fire that specific event? Or is there a way to simply fire
a mouse click? Then I could check at each mouse click if envelope==true… But
the user could also use the keyboard to access that functionality ïŒ
Any help would be welcome
Thanks