Expand/contract MAPIFolder

N

Neetu

I’m creating a hierarchy of MAPIFolders using my VSTO addin. For eg. let
there be a folder ONE , folder TWO inside folder ONE and folder THREE inside
folder TWO etc. If the selected folder (Explorer.CurrentFolder) is in the
second or third level and if I contract the main folder ONE using (-), the
main folder becomes selected folder. How can we handle the event of
expand/contract before the Explorer Selection happens?
 
K

Ken Slovak - [MVP - Outlook]

Have you looked at the Explorer.BeforeFolderSwitch() and
Explorer.BeforeViewSwitch() events?
 

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