outlook AdvanceFind dialog

A

Ashish

We can search mail under any folder by clicking on AdvanceFind. Outlook open
a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance Find
dialog?
Can we know the event called by FindNow.
 
S

Sue Mosher [MVP]

The Advanced Find dialog is not exposed to developers and fires no Outlook
object model events. The only event you'd get is the Click event for that
menu command.

FYI, please include your version of Outlook whenever you post to an Outlook
forum.
 
K

Ken Slovak - [MVP - Outlook]

I'm not sure what the user wants those events for, but you could get an
event when Advanced Find was run if you go about it indirectly.

Advanced Find creates a temporary search folder. If you get the search
folders root folder under Finder and handle the FolderAdd event on that
Folders collection you'd know when an Advanced Find had been run (and when a
new search folder was created).

If it was anything older than Outlook 2007 you'd need to use Redemption code
to get to Finder, but it definitely could be done that way.
 
A

Ashish

Thanks
So it's not possible in outlook 2003 without redemption right?
For outlook 2007, As you said outlook creates a temporary folder for that,
i'll check it in folder_add. But my motive is when outlook search mails when
i click on find now, it should include show some more mails which i want to
give.
 
K

Ken Slovak - [MVP - Outlook]

I don't understand your explanation, sorry.

Outlook 2003 would also create the temporary search folder. The difference
is that you can't get to Finder in Outlook 2003 without using Redemption or
another low level API. In Outlook 2007 you can get there with just the
Outlook object model.

This would also be a transient solution. Unless the search folder is
persisted it will be deleted when the user closes the Advanced Find dialog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top