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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Ashish" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>