Will i get NewInspector event each time i display an item?

J

Julia

Hello

I have two types of contacts item,one is IPM.Contact and the other is
IPM.Contact.Special
I decide to create two wrapper classes.

CIpmInspector and CSpcInspector which will wrap the two item's inspector
I wonder if it is safe? should i get NewInspector event each time an item
is displayed?
(foe example when i am pressing the next button on the inspector assuming i
will get different item)

or should i stick with one wrapper for both items,and just check the
currentitem message class?

I decided to do it since each item have different toolbar,and different
processing.


10x.
 
K

Ken Slovak - [MVP - Outlook]

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

Julia

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
 
K

Ken Slovak - [MVP - Outlook]

Yes, supposedly. It also depends on whether WordMail is being used and
the Outlook version if emails are being opened.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top