View Single Post
  #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