Navigation Pane in Outlook 2003

K

KP

Is it possible to get events fired when i click on any of the "Navigation
Pane" ? (Mail , Contacts, Tasks ..)
if yes .. please let me know how ....

thanks in advance
KP
 
K

Ken Slovak - [MVP - Outlook]

Not really. There are no Navigation Pane events exposed in the Outlook
object model. You can trap a right-click in parts of the Navigation Pane by
using a hack but not others. You can trap a right-click on the buttons
(Mail, Calendar, etc.) but not the list of folders.

To see how to trap an Explorer right-click (which is what you'll get when
right-clicking in a Navigation Pane button) see
http://www.outlookcode.com/codedetail.aspx?id=314
 
K

KP

Hi Ken,

Thanks for the reply, thats not what i am looking at.

let me brief u about my problem.

1. I have a add-ins which would create a .pst file using AddStoreEx
oNS.AddStoreEx("C:\abc.pst", Outlook.OlStoreType.olStoreANSI)

2. then i am creating a Folder of type "Task"

oNS.Folders.Item(iFolder).Folders.Add("DEF",
Outlook.OlDefaultFolders.olFolderTasks)

These two are created succesfully

now my problem is when i click on the Tasks ( From Navigation Pane) i would
like to see only Outlooks default Tasks and NOT "DEF" (task) which i
created..

is this possible. ??? ( How u understood my problem )

i am in a fix . please kindly help

Thanks

KP
 
K

Ken Slovak - [MVP - Outlook]

Yes, I understand but that's not what you asked originally. You had asked
about firing events when the Navigation Pane is clicked and that's what I
answered.

You cannot program which files of a certain type will or won't be shown in
the Navigation Pane.
 
K

KP

cool.. thanks a ton..
KP

Ken Slovak - said:
Yes, I understand but that's not what you asked originally. You had asked
about firing events when the Navigation Pane is clicked and that's what I
answered.

You cannot program which files of a certain type will or won't be shown in
the Navigation Pane.
 

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