![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
I developed an add-in to show a Context Menu on item right-click. This was developed using Extensibility.IDTExtensibility2 interface in Visual Studio, using the Microsoft Office 10.0 Library. The add-in works fine on Office XP...any time I right-click an item, it shows a context menu with an added button. The weird thing happens on Office 2007... when I first right click the context menu shows correctly. Then if I right-click immediately on other items the menu doesn't always shows up with the added button...instead if I wait at least three seconds between each right click the context menu ALWAYS shows up correctly. What could it be? I tried logging and debugging but I cannot solve the issue. Thank you, Ivan Here I post a snippet of my code: Private Sub ActiveExplorerCBars_OnUpdate() Handles _ActiveExplorerBars.OnUpdate If _IgnoreCommandbarsChanges Then Exit Sub If _ActiveExplorerBars.Item("Context Menu") IsNot Nothing Then If _outApp.ActiveExplorer.Selection.Count 0 Then If _outApp.ActiveExplorer.Selection.Item(1).Class = Outlook.OlObjectClass.olMail Then AddContextButton(_ActiveExplorerBars.Item("Context Menu")) End If End If End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Folder Context Menu built-in items | Paul-Jan Pauptit | Add-ins for Outlook | 0 | June 3rd 08 08:43 AM |
Context menu | Mac | Add-ins for Outlook | 4 | May 12th 08 11:27 PM |
Context Menu [only] | pjerling | Add-ins for Outlook | 1 | November 1st 07 06:19 AM |
Get context of context menu | sublimese | Add-ins for Outlook | 1 | October 17th 07 05:57 AM |
Context Menu not present | Mono | Outlook Express | 5 | February 7th 06 06:22 PM |