Quantcast
Channel: Microsoft Outlook Interoperability
Viewing all articles
Browse latest Browse all 109

After resizing Custom Task Pane "BeforeFolderSwitch" Event handler stopps being called

$
0
0
Hi,

a strange behaviour. I Developed a Custom Task Pane and want to be it visible when the user moves to a certain folder.

This works fine:

private void InitGlobalEvents()
{

Application.ActiveExplorer().BeforeFolderSwitch += new
Microsoft.Office.Interop.Outlook.ExplorerEvents_10_BeforeFolderSwitchEventHandler(Explorer_BeforeFolderSwitch);
}


Here is the handler:


void Explorer_BeforeFolderSwitch(object NewFolder, ref bool Cancel)
{
Cancel = false;
Outlook.Folder newFolder =...

After resizing Custom Task Pane "BeforeFolderSwitch" Event handler stopps being called

Viewing all articles
Browse latest Browse all 109

Trending Articles