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