Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I have a custom Search Folder that displays a filtered list of contact items.
 
Is it possible to develop a custom button that has the same feature as the "New Message to Contact" button does in the Contacts View and can be used on the searched contact items in my custom Search Folder?
 
It could be a custom toolbar, ribbon, or context menu button, as long as I can use that functionality.
I'm using Outlook 2007, Visual Studio 2010 using C#.

If I'm in the Contacts panel, the "New Message To Contact" button would allow me to click when I select one or multiple contact items.
(see this screenshot[^])

From my understanding, normally they are two ways to view the search folders:
1. from the Mail panel (see screenshot[^])
2. click the Folder List button (see screenshot[^])

I already setup an AdvancedSearch method to let my custom Search Folder's searched result only display contact items, so all of my items in my custom Search Folder are Contacts type, not Mail, nor Tasks, or any else.
However, the view (display mode) of those contact items is different than they are displayed in the Contacts panel (see this screenshot[^]), causing me not able to click the "New Message to Contact" button anymore.

My goal is to be able to select all of my searched contact items that are in my custom Search Folder and be able click a custom button that has the same functionality as the "New Message to Contact" does so I can send an email to all of my selected contacts.
Posted 26-Jul-11 8:36am
Edited 26-Jul-11 9:28am
v2
Comments
SAKryukov at 26-Jul-11 14:37pm
   
Are you show you want to develop a ***button***? :-)
Normally the code handling button click is not part of the button code.
--SA
Daniel0318 at 26-Jul-11 14:43pm
   
It would be nice if it could be a button. or it could be a custom toolbar, ribbon, or context menu button, as long as I can use that functionality.
I just would like to know how to get this functionality working on my searched Contact items.
 
Could you recommend any possible solution or reference?
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 26 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100