![]() |
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
|
|||
|
|||
![]()
I read http://www.pcreview.co.uk/forums/thread-1856258.php and explored
ItemsCB, but I am using an OOM that has the Activate() method but there is no Activate event also there is no Close event on a MailItem. I am having the normal problem where my toolbar does not show up on the inspector. Can someone help me? Thanks |
#2
|
|||
|
|||
![]()
You have to wrap the item like so:
((ItemEvents_10_Event)mailItem).Close += new ItemEvents_10_CloseEventHandler(mailItem_Close); in order to get the event to be created or removed. That way you can override what the current close action is. regards, Thaddaeus "Jim" wrote in message ... I read http://www.pcreview.co.uk/forums/thread-1856258.php and explored ItemsCB, but I am using an OOM that has the Activate() method but there is no Activate event also there is no Close event on a MailItem. I am having the normal problem where my toolbar does not show up on the inspector. Can someone help me? Thanks |
#3
|
|||
|
|||
![]()
What language are you using? There definitely is an Inspector.Activate event
and both Inspectors and Items have Close events that you can handle. ItemsCB shows how to wrap things for VB 6 for an Explorer, the link http://www.slovaktech.com/code_sampl...spectorWrapper on my Web site shows how to do it for an Inspector. Both are VB 6 samples. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Jim" wrote in message ... I read http://www.pcreview.co.uk/forums/thread-1856258.php and explored ItemsCB, but I am using an OOM that has the Activate() method but there is no Activate event also there is no Close event on a MailItem. I am having the normal problem where my toolbar does not show up on the inspector. Can someone help me? Thanks |
#4
|
|||
|
|||
![]()
I am using C#
Rog Ken Slovak - [MVP - Outlook] wrote: What language are you using? There definitely is an Inspector.Activate event and both Inspectors and Items have Close events that you can handle. ItemsCB shows how to wrap things for VB 6 for an Explorer, the link http://www.slovaktech.com/code_sampl...spectorWrapper on my Web site shows how to do it for an Inspector. Both are VB 6 samples. |
#5
|
|||
|
|||
![]()
See http://www.outlookcode.com/codedetail.aspx?id=797 for an example of an
Inspector wrapper in C#. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Jim" wrote in message ... I am using C# Rog |
#6
|
|||
|
|||
![]()
Thank you Ken that work out great.
Ken Slovak - [MVP - Outlook] wrote: See http://www.outlookcode.com/codedetail.aspx?id=797 for an example of an Inspector wrapper in C#. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help! Inspector.Close is fired before Inspector.Activate handler finishes | Sergey Anchipolevsky | Add-ins for Outlook | 8 | February 9th 06 09:51 AM |
Outlook 2003 fires an Inspector Close when a send is cancelled | Steve D | Add-ins for Outlook | 8 | February 8th 06 11:22 PM |
How to find out which is the current item shown in the inspector? | Michael Reukauff | Add-ins for Outlook | 1 | January 25th 06 02:33 PM |
how to add commandbarbutton to inspector window | Ram | Outlook - General Queries | 1 | January 18th 06 08:42 PM |
how to add commandbarbutton to inspector window | Ram | Add-ins for Outlook | 0 | January 18th 06 03:18 PM |