Nathan Pledger
Posts: 33
Joined: 2009-01-09
|
Hi,
I have some code on the NewInspector event that follows:
global::Outlook.Inspector adxInspector = inspector as global::Outlook.Inspector;
this.adxOlInspectorCommandBar.Position = AddinExpress.MSO.ADXMsoBarPosition.adxMsoBarTop;
object o = adxInspector.CurrentItem;
(There is more code but I have tested commenting it out and I still have the same effect.)
When I close the message, I get the save prompt "Do you want to save changed to this message?". Which is odd, because I haven't changed it! It tends to happen to messages with attachments.
Is MailItem honouring Quantum Physics and changing its state just by my having looked at it? I wondered if casting an item out to a _MailItem could have done this, but again, skipping that code didn't really help.
Any ideas?
|
|
Eugene Astafiev
Guest
|
|