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?
 
Top