Call window component from VBA code

L

Lp12

Hi all,
I want to use the 'Select folders' window in Outlook 2003 (it the window
with check boxes that appears once you create a search folder and specify the
folders you want to search in).
Is it possible or i need to write it in other language?
Thanks in advace
 
K

Ken Slovak - [MVP - Outlook]

The method you are looking for is NameSpace.PickFolder. You cannot customize
it at all but it displays the entire list of folders with its default
captions and text. For anything custom you'd have to use a tree view control
and create your own folder picker.
 
L

Lp12

Thanks Ken,
The Pickfolder allows me to pick one specific folder each time. I'm looking
for a multi option picker (like in the search folders). I know it exists but
do you know how to call it?
Thanks again.
 
K

Ken Slovak - [MVP - Outlook]

Many of the internal Outlook controls aren't exposed for use by programmers.
You'd have to create your own dialog and use a treeview control for that
functionality. In other words, code it all yourself.
 
Top