J
Jim
Hello,
When an Outlook user selects the phone icon in a Contact item, the New
Call dialog opens and the user can select the Start Call button to
place a call via TAPI using the Number shown in the dialog (or an
alternate number from the pick list). The New Call dialog also
indicates the Contact name apparently obtained from the associated
Contact item.
Is it possible to know programmatically in my Add-In that the user
selected the Start Call button, and read the Contact name?
I thought I might just read and store the Full Name when a Contact
item is accessed (Open or SelectionChange), and then retrieve that
name when my TAPI service provider code sees an outbound call request
from Outlook. (I already have IPC messaging between my Add-In and my
TAPI service provider code, so passing the data is not a problem --
getting the data is the only problem.)
But this isn't reliable because the user can open the New Call dialog
for a Contact, and then before selecting Start Call, he can open a
different Contact and then select Start Call for the first Contact.
In this case, my read and store code above would report the name from
the second Contact, which is incorrect.
I see newsgroup postings describing how to programmatically launch the
New Call dialog, but that isn't what I'm after. I am looking for an
Outlook event or some other way to know that the user opened the New
Call dialog and which Contact item is unambiguously related so I can
read the Full Name for the Contact.
Thanks.
Jim
When an Outlook user selects the phone icon in a Contact item, the New
Call dialog opens and the user can select the Start Call button to
place a call via TAPI using the Number shown in the dialog (or an
alternate number from the pick list). The New Call dialog also
indicates the Contact name apparently obtained from the associated
Contact item.
Is it possible to know programmatically in my Add-In that the user
selected the Start Call button, and read the Contact name?
I thought I might just read and store the Full Name when a Contact
item is accessed (Open or SelectionChange), and then retrieve that
name when my TAPI service provider code sees an outbound call request
from Outlook. (I already have IPC messaging between my Add-In and my
TAPI service provider code, so passing the data is not a problem --
getting the data is the only problem.)
But this isn't reliable because the user can open the New Call dialog
for a Contact, and then before selecting Start Call, he can open a
different Contact and then select Start Call for the first Contact.
In this case, my read and store code above would report the name from
the second Contact, which is incorrect.
I see newsgroup postings describing how to programmatically launch the
New Call dialog, but that isn't what I'm after. I am looking for an
Outlook event or some other way to know that the user opened the New
Call dialog and which Contact item is unambiguously related so I can
read the Full Name for the Contact.
Thanks.
Jim