Either way is OK. I'd probably go with one wrapper class and test for
MessageClass in that and branch to different button creating code
depending on the MessageClass.
Depending on which version or versions of Outlook you plan to run the
code on (and also the service pack and hotfix level) you may or may
not get a NewInspector event when Next or Previous are used. Depending
on version and so on you also may get a NewInspector if the item
opened using Next or Previous has ever been opened in that Inspector
previously or is new to that Inspector.
There are a few KB articles relating to the NewInspector bugs, the
easiest way to find them is to scan the list of Outlook/CDO/Exchange
articles at http://www.microeye.com/resources/res_outlkb.htm You'll
find lots of other useful KB articles there as well.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Hello
>
[quoted text clipped - 15 lines]
>
> 10x.
Julia - 29 Jan 2004 14:46 GMT
OL 2000 and above.
But i understand that the NewInspector suppose to be raised if everything is
ok(latest hotfix,and service packs installed)?
10x
> Either way is OK. I'd probably go with one wrapper class and test for
> MessageClass in that and branch to different button creating code
[quoted text clipped - 44 lines]
> >
> > 10x.
Ken Slovak - [MVP - Outlook] - 29 Jan 2004 15:26 GMT
Yes, supposedly. It also depends on whether WordMail is being used and
the Outlook version if emails are being opened.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> OL 2000 and above.
>
> But i understand that the NewInspector suppose to be raised if everything is
> ok(latest hotfix,and service packs installed)?
>
> 10x