How to create a Search Folder

How to create a Search Folder

Post by Michael Ti » Wed, 24 Sep 2008 07:10:38


Can someone point me to an example of creating a Search Folder using c++ ?
Also, how would I make the Search Folder as hidden ?

Thanks.
 
 
 

How to create a Search Folder

Post by Stephen Gr » Wed, 24 Sep 2008 07:20:00

MFCMAPI can create search folders: http://www.yqcomputer.com/

Unless you're talking about Outlook's persisted search folders. Those are
more complex beasts. You'll need to decipher the Exchange Protocol
Documentation to deal with those.

As for hidden - same way you make any folder hidden - don't put it in the
IPM subtree.

Steve

 
 
 

How to create a Search Folder

Post by Michael Ti » Wed, 24 Sep 2008 10:00:17

Hmm, I was looking to create an Outlook search folder (I think) ...
Using MFCMAPI I see a bunch of Search Folders under the Search Root that do
not show up in Outlook - how do you do this ??
 
 
 

How to create a Search Folder

Post by Stephen Gr » Thu, 25 Sep 2008 00:02:25


Look at the docs for CreateFolder - there's a flag. Then you use
SetSearchCriteria.
 
 
 

How to create a Search Folder

Post by Dmitry Str » Thu, 25 Sep 2008 03:46:44

And the docs as of now do not fully describe the blob format. I've been
waiting for these for months now...
http://www.yqcomputer.com/

--
Dmitry Streblechenko (MVP)
http://www.yqcomputer.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
 
 

How to create a Search Folder

Post by patoche » Sun, 28 Sep 2008 01:16:39


Hi,

Looks like we're forming a line on this. Welcome to it Michael !