Explore to MailItem without opening new inspector c++

Z

zen

Hi

How do I select a MailItem programmatically?
I want it to show in the ReadingPane and not display it in a new floating
Inspector
Which is what mailitem->Display( ) seems to do

e.g.
....
IDispatch* disp;
items->Item( CComVariant( 1 ), &disp );
CComQIPtr < Outlook::_MailItem > mailitem ( disp );
//now have the correct mailitem

mailitem->Display( ); // :( Shows in new floating inspector ):

Thanks!

~Zen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top