title: Determine if MailItem is open in Compose or Read mode
body: <p>Is there some way that I can determine if a <code>MailItem</code> is being opened in a <code>ReadMail view</code> (not sure about the terminology here) or in a <code>Compose view</code>. That is, am I opening a mail that has been sent to me, or am I opening a mail to send to someone.</p>
  
  <p>I've checked the <a href="http://msdn.microsoft.com/en-us/library/bb208402%28office.12%29.aspx">MailItem</a> and the <a href="http://msdn.microsoft.com/en-us/library/bb208374%28office.12%29.aspx">Inspector</a> objects but can't find anything of relevance. Unfortunately I don't know how to access specific Properties (I've seen some <code>GetProperty()</code> method somewhere) so I don't know if I could access it via that..</p>
  
  <p>I was hoping that there would be something I could do like:</p>
  
  <pre><code>// where OutlookApp is my Outlok Application
  Outlook.Inspector inspector = OutlookApp.ActiveInspector();
  Outlook.MailItem item = inspector.CurrentItem as Outlook.MailItem;
  if (item.IsOpenInComposeView)
  {
      // ...
  }
  </code></pre>