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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Next and Previous Inspector events



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 29th 07, 09:42 PM posted to microsoft.public.outlook.program_vba
David
external usenet poster
 
Posts: 196
Default Next and Previous Inspector events

Outlook 2002 and above.
VS 2005
No VSTO
Developing in C# (can't find a C# forum instead of VB)

I have found some samples for adding buttons to Inspectors and operating on
the mail message.

Though I have found lots of messages about how the Next (CTRL-) and
Previous (CTRL-) do not fire any events. Therefore your button acts on the
previous email opened instead of the currently viewed message.

Can anyone point me to a sample (C# preferred) that works around this in
some way.

I have started down the root of registering for the Open and the Read
events. The Open to setup my buttons and the Read to perhaps grab the new
object.

Suggestions welcome.

Thanks,
Dave

Ads
  #2  
Old March 29th 07, 10:24 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Next and Previous Inspector events

Actually that's not really the case. In some versions of Outlook you do get
a NewInspector event when Next or Previous are used. In some you don't.
Basically the fix that fires NewInspector was added in Outlook 2002 SP2, so
anything later than that should fire NewInspector.

The easiest thing to do is have users update to SP2 or later if they are
running Outlook 2002, which is pretty old anyway.

See http://support.microsoft.com/?kbid=321326 for a little more information.

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


"David" wrote in message
...
Outlook 2002 and above.
VS 2005
No VSTO
Developing in C# (can't find a C# forum instead of VB)

I have found some samples for adding buttons to Inspectors and operating
on
the mail message.

Though I have found lots of messages about how the Next (CTRL-) and
Previous (CTRL-) do not fire any events. Therefore your button acts on
the
previous email opened instead of the currently viewed message.

Can anyone point me to a sample (C# preferred) that works around this in
some way.

I have started down the root of registering for the Open and the Read
events. The Open to setup my buttons and the Read to perhaps grab the new
object.

Suggestions welcome.

Thanks,
Dave


 




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
single events change to recurring events without a prompt. TPDavidson Outlook - Calandaring 0 February 12th 07 05:48 AM
Getting rid of duplicate events vs. Recurring events AK Outlook - Calandaring 1 September 29th 06 02:23 PM
Item open events and double click events in exchange client extension. Fanxa Add-ins for Outlook 1 August 9th 06 09:18 AM
Inspector Close events not firing.. Sanjay Add-ins for Outlook 1 May 22nd 06 07:18 PM
Help! Inspector.Close is fired before Inspector.Activate handler finishes Sergey Anchipolevsky Add-ins for Outlook 8 February 9th 06 10:51 AM


All times are GMT +1. The time now is 12:45 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.