No OnSelectionChange, OnFolderSwitch for Search Folders?

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

No OnSelectionChange, OnFolderSwitch for Search Folders?
 
Jack Johnson




Posts: 22
Joined: 2004-10-21
I'm working on an Outlook add-in written with Add-in Express 2.2.0 and Delphi 7.1 Architect. I've noticed that selecting a search folder in OL 2003 doesn't trigger On SelectionChange, OnFolderSwitch, or OnViewSwitch, although selecting any other type of folder does. When the user selects Personal Folders I'm disabling some buttons that I need to enable for the search folders, but if the user selects Personal Folders and then selects a search folder I don't know that the selection has changed. Is this a bug or working as designed? How can I detect such a selection change?

Thanks,
Jack
Posted 29 Oct, 2004 17:14:11 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Jack,

Strange. I have just tested and got BeforeFolderSwitch, ViewSwicth, FolderSwitch and SelectionChange events. The SelectionChange event is not fired if the Search Folder has no items.

Sincerely,
ADX Support Team
Posted 30 Oct, 2004 06:34:54 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Another point.
There are a lot of causes. For example:
http://support.microsoft.com/?kbid=224917
http://support.microsoft.com/?kbid=294431


Sincerely,
ADX Support Team
Posted 30 Oct, 2004 07:17:23 Top
Jack Johnson




Posts: 22
Joined: 2004-10-21
Hi, Dmitry -

OK, must be something I'm doing, then. I'll keep looking.

Thanks,
Jack
Posted 30 Oct, 2004 10:00:16 Top