Outlook Addin Help

C

craig

I am building a addin for outlook using C++ and I have a couple of questions -
My application will be supporting standalone Outlook clients as well as
those connected to an exchange server. I can find the inbox by using the
GetDefaultFolder() routine but I need to get the parent folder of the inbox
since they can be different. How do I accomplish this?

I have added an additonal pane to the screen that I need to refresh on
occasions. How do i go about doing that?
 
K

Ken Slovak - [MVP - Outlook]

Once you get the Inbox use oInbox.Parent to the to the top of store folder.

Not sure what you mean by adding a pane. How was it added and where?
 
C

craig

Thanks Ken - though how would I make that call using C++?

The pane that I created is on the righside from top to bottom that I display
information in that gets refreshed. I used GDI calls to make the pane.
 
K

Ken Slovak - [MVP - Outlook]

Beats me, I don't do C++ for Outlook. Parent is a property for any Outlook
item that returns the MAPIFolder where the item lives. You'd approach it
much the same as any other property that returns an object.

You'd have to refresh your pane using the GDI methods, maybe sending a
Windows message to that process to initiate a refresh.
 

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