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

Inspector Wrapper utlook 2000



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 8th 06, 05:24 PM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Inspector Wrapper utlook 2000

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  
Old February 8th 06, 05:41 PM posted to microsoft.public.outlook.program_addins
Thaddaeus Parker
external usenet poster
 
Posts: 17
Default Inspector Wrapper utlook 2000

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  
Old February 8th 06, 07:08 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Inspector Wrapper utlook 2000

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  
Old February 8th 06, 08:04 PM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Inspector Wrapper utlook 2000

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  
Old February 8th 06, 08:57 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Inspector Wrapper utlook 2000

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  
Old February 17th 06, 10:12 PM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Inspector Wrapper utlook 2000

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
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
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


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


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.