PC Review


Reply
Thread Tools Rate Thread

disable a menu in active inspector

 
 
Ashish
Guest
Posts: n/a
 
      7th Oct 2009
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.


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      8th Oct 2009
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.
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
active inspector in memory Ashish Microsoft Outlook Program Addins 1 23rd Oct 2009 09:49 PM
How to get active inspector window handle? madhavi Microsoft Outlook Program Addins 2 13th Oct 2009 07:55 PM
no active inspector =?Utf-8?B?amVubg==?= Microsoft Outlook Installation 2 23rd Mar 2007 07:32 PM
know if there is an active inspector Andrea Cacciarru Microsoft Outlook Program Addins 3 16th Mar 2005 04:00 PM
How to determine if an object is the active inspector? John Riddle Microsoft Outlook Form Programming 0 23rd Apr 2004 04:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 AM.