none
Switch to calendar view RRS feed

  • Question

  • Hi all:

         I'am using ATL to write an outlook addin, and meet a simple problem here: suppose My current view is mail(inbox), I want to change current view to calendar, but I did not know how? could anyone help me.

         Please give me some C++ code. Thanks


    I want to learn more

    Sunday, March 4, 2012 3:12 PM

Answers

  • There is CurrentFolder on Explorer object. Set it to calendar Folder object that you recieve from Namespace::GetDefaultFolder function.
    Monday, March 5, 2012 10:18 AM

All replies

  • There is CurrentFolder on Explorer object. Set it to calendar Folder object that you recieve from Namespace::GetDefaultFolder function.
    Monday, March 5, 2012 10:18 AM
  • Hi DamianD:

         Thanks for your reply, I get the way as you described from MSDN, and there are some code in VB and C#, but I did't know what exactly using C++, so if you could give me some code block, it would be greatly appreciate.


    I want to learn more

    Monday, March 5, 2012 12:45 PM
  • Sorry, i do not have any C++ snippet ready.
    Monday, March 5, 2012 12:49 PM
  • Thanks all the same

    I want to learn more

    Monday, March 5, 2012 1:08 PM