Unnecassary Save Changes prompt in Inspector

Add-in Express™ Support Service
That's what is more important than anything else

Unnecassary Save Changes prompt in Inspector
 
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?


Posted 21 Jan, 2009 10:24:24 Top
Eugene Astafiev


Guest


Hi Nathan,

I have just answered you in another http://www.add-in-express.com/forum/read.php?FID=5&TID=4667&MID=22944#message22944. Please don't duplicate forum threads.
Posted 21 Jan, 2009 10:31:21 Top