G
Guest
Hello -
I want to dynamically determine the contents of my e-mail signature at the
time a new e-mail is composed. I can't seem to find any objects in the PIA
that deal with signatures, and while it seems that I could create a new
e-mail item in a rather straightforward way and then display its inspector,
the only way I could think to do this is by replacing the "New" button in the
command bar and the "New" menu item in the main menu.
The other difficulty with this solution (the replacement of the button and
menu items) is that the command bar button is dynamic; sometimes it's for
e-mail, and other times it's for tasks, appointments, etc. And, this would
only intercept New e-mails; I would have to do something similar for Reply,
Reply to All, and Forward, not only on the command bar, but also on the
context menu.
Is there any kind of event that happens when a new Inspector appears?
I'm currently using Outlook 2007 and Visual C#; however, if this
functionality could only be achieved with ATL and C++, I could move to that.
I want to dynamically determine the contents of my e-mail signature at the
time a new e-mail is composed. I can't seem to find any objects in the PIA
that deal with signatures, and while it seems that I could create a new
e-mail item in a rather straightforward way and then display its inspector,
the only way I could think to do this is by replacing the "New" button in the
command bar and the "New" menu item in the main menu.
The other difficulty with this solution (the replacement of the button and
menu items) is that the command bar button is dynamic; sometimes it's for
e-mail, and other times it's for tasks, appointments, etc. And, this would
only intercept New e-mails; I would have to do something similar for Reply,
Reply to All, and Forward, not only on the command bar, but also on the
context menu.
Is there any kind of event that happens when a new Inspector appears?
I'm currently using Outlook 2007 and Visual C#; however, if this
functionality could only be achieved with ATL and C++, I could move to that.