How to get selected calendar folder list in Outlook2003?

  • Thread starter Thread starter Ami
  • Start date Start date
A

Ami

Hi All,
In Outlook-2003, We can select multiple calendar folders for
simultenous view by checking the checkbox in left side pane. Is it
possible to track that which calendar folders are selected (checked in
UI) for current view using Outlook Object model or any other coding
way.

It would be great help, if some one can give me some pointer for it.

Thanks in advance.

With best Regards,
 
Many thanks Michael for your reply. Can i use this function using VC++.
Any idea how can i do it in VC++. Any sample code would be great help.
Thanks again for your reply.
 
Once again thansk for your reply. In Explorer object, i cannot find any
method named "IsFolderSelected". There is another function
"get_CurrentFolder", which return the name of currently selected
folder. Could you please give me some helper code in VBA itself, to get
the calendar navigation pane and accessing the check box state in it?
(Left hand side navigation pane in Outlook 2003)

I got success in using OOM with VC++ but cannot get access to Pane
object from Panes collection. I get all time crash :) so smaple VBA
code would be really helpful to see the standard way to retrieve panes
and then controls in it which i can try to translate in C++.

Thanks for your help...
 
The Navigation Pane is not available in the Panes collection. You'd have to
find it using Win32 API calls and then there's no way to program it anyway
using the Outlook object model. Anything you did with it would involve Win32
API calls and overlaying things and trying to get at child windows used for
the controls. Not something I'd want to be tasked with programming.
 
Thanks a lot, Ken for your reply. Atleast now i know, i should look for
another way to find it :).
Thanks once again.
 
Back
Top