![]() |
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
|
|||
|
|||
![]()
Sorry if this is the wrong place for this, but there was no apparent group
for Outlook COM addins. I've managed to add a button to the main window in Outlook, but I would like to be able to do the same within a mailitem. The problem is I have no idea how to do this, and so far searching the 'net has not revealed anything useful. Any help in this area would be appreciated. I'm using VB6 for the addin in case this has any impact on how to do this. |
Ads |
#2
|
|||
|
|||
![]()
The "main window" is an Explorer. Open items use Inspectors, you would add
your UI to that Inspector just as you would to an Explorer. The Inspectors.NewInspector() event will tell you when a new item is opened. Testing the passed Inspector object in that event handler for Inspector.CurrentItem.Class will tell you what type of Inspector is being opened. One thing to bear in mind is that if this is for Outlook 2007 then a CommandBarButton for an Inspector will be relegated to the Add-Ins tab along with any other old style UI. For Outlook 2007 you should be handling the ribbon to provide UI. -- 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 "PatrickS" msdn_newsgroups001@_removetextplusunderscores_seu rre.com. wrote in message ... Sorry if this is the wrong place for this, but there was no apparent group for Outlook COM addins. I've managed to add a button to the main window in Outlook, but I would like to be able to do the same within a mailitem. The problem is I have no idea how to do this, and so far searching the 'net has not revealed anything useful. Any help in this area would be appreciated. I'm using VB6 for the addin in case this has any impact on how to do this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a button to existing ribbon | Tom[_4_] | Add-ins for Outlook | 6 | April 4th 10 02:44 PM |
adding a custom send button? | kingsob | Outlook and VBA | 1 | March 27th 09 01:09 AM |
adding button like encryption and signing information button | Ramazan | Add-ins for Outlook | 2 | October 7th 08 02:57 PM |
Adding a button to the Appointment Form | [email protected] | Add-ins for Outlook | 6 | March 21st 06 03:09 PM |
Adding a 2nd button (functionality not working) | Newt | Outlook and VBA | 3 | March 6th 06 06:35 PM |