
Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
Hi Mosher,
Thanks for your comment.
I tried it also, something like this
object OMissing = System.Reflection.Missing.Value ;
MailItem.Display(OMissing) ;
It opens the message, BUT in a the new window, NOT on the the same
window itself. I need to display the message on the inspector window
itself.
OR is there any way to select the mail in the inspector from the code?
regards,
kumar
> You mean display it in an Inspector window? If so, the method you're looking
> for is MailItem.Display.
[quoted text clipped - 15 lines]
> > with regards
> > kumar
Sue Mosher [MVP] - 22 Jan 2004 12:39 GMT
Now I'm really confused about what you're trying to do. What do you mean by
"select the mail in the inspector"?

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi Mosher,
>
[quoted text clipped - 16 lines]
> > You mean display it in an Inspector window? If so, the method you're looking
> > for is MailItem.Display.
> > > Hi,
> > >
[quoted text clipped - 13 lines]
> > > with regards
> > > kumar
Anushya - 24 Jan 2004 08:00 GMT
Hi Sue
I think he doesnot need to open the mail in a new window.
Mailitem.display() opens the mail in a new window in the default way.
Instead he needs to display the mail body of the selected mail in the
place where outlook displays mail body. But here he will
programmatically select the mail item thru some custom logic
Simply he wants to display the mail body of the program selected mail
item in the outlook window where mail body is displayed.
Anushya
> Now I'm really confused about what you're trying to do. What do you mean by
> "select the mail in the inspector"?
[quoted text clipped - 40 lines]
> > > > with regards
> > > > kumar