disable a menu in active inspector

  • Thread starter Thread starter Ashish
  • Start date Start date
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.
 
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.
 
Back
Top