ExplorerFolderSwitch firing twice

Add-in Express™ Support Service
That's what is more important than anything else

ExplorerFolderSwitch firing twice
 
Christian Kiewiet




Posts: 8
Joined: 2015-01-26
Hi,

what is the reason for OutlookEvents "ExplorerFolderSwitch" firing twice? This does not always seem to happen; but it does happen consistently for non-Store folders (i.e. non-IPM-Roots) and for IMAP-Root-Folders.

What can I do to prevent this?

Best Regards,
Christian
"Time flies like an arrow; fruit flies like a banana"
Posted 27 Feb, 2015 04:16:37 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Christian,

I don't think there's anything you can do about it. I would check if the ExplorerBeforeFolderSwitch occurs twice and if it actually changes the current folder; you can compare Explorer.Currentfolder and the folder passed to the ExplorerBeforeFolderSwitch event handler.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Feb, 2015 05:34:25 Top