A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

disable a menu in active inspector



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 7th 09, 04:08 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default disable a menu in active inspector

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.


  #2  
Old October 8th 09, 02:38 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default disable a menu in active inspector

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" wrote in message
...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inspector wrapper and Inspector close not fireing [email protected] Add-ins for Outlook 1 June 20th 08 01:53 PM
Disable Outlook 2003 right click context menu Sharanga Dayananda Add-ins for Outlook 0 June 4th 07 11:24 AM
no active inspector Jenn Outlook - Installation 2 March 23rd 07 07:32 PM
Disable HTML format from menu & hyperlink issue mackdaddy315 Outlook - General Queries 1 December 23rd 06 03:32 PM
Help! Inspector.Close is fired before Inspector.Activate handler finishes Sergey Anchipolevsky Add-ins for Outlook 8 February 9th 06 09:51 AM


All times are GMT +1. The time now is 12:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.