disable a menu in active inspector

A

Ashish

In my outlook addin code, if i disable a menu in active inspector(say
edit->copy) when open a mail the menu is disable.
After that i remove the code to disable that menu from my addin. But now if
i open any mail then edit->copy menu is disable for each mail. Is there no
way to change this menu status for single mail only means one mail action
should not impact on other mail. If i disable menu for first 5 mails in
active inspector then it should not apply on other mails.
 
K

Ken Slovak - [MVP - Outlook]

You need to change the setting back to normal on close of each Inspector
where you change it. If you add UI to an Inspector you should set it as
temporary and remove it on close otherwise that UI will persist even if your
addin isn't running. This is no different in concept, just restore what you
changed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top