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

  • Thread starter Thread starter Julia
  • Start date Start date
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.
 
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.
 
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
 
Yes, supposedly. It also depends on whether WordMail is being used and
the Outlook version if emails are being opened.
 
Back
Top