J
jim_adams
I've developed a VB6 COM add-in that displays on the new message
toolbar in Outlook 2003. However, its code does not
get called when a file is sent to a recipient as an attachment from
Word, probably since the resulting email window is in MAPI mode.
Is there a way for an Outlook COM add-in to be called in the above
scenario?
As it so happens <g>, I've also developed an extended MAPI add-in that
will display in the above scenario.
My problem is that I don't want both buttons displaying on the same
toolbar when messages are created from Outlook.
I've tried to have my COM add-in delete the extended MAPI button from
the Standard toolbar when it loads, but the extended MAPI button is the
only button that doesn't delete!
So then, I've tried to determine the parent window of my extended MAPI
button. If it's Outlook don't show it since my COM button will work.
And if it's Word, show since I know the COM button won't show. Sounds
good, but I can't find a way to detect whether Outlook's new message
window is spawned from Outlook or Word.
Grrrrrr.
Any help is greatly appreciated!!!
-Jim
toolbar in Outlook 2003. However, its code does not
get called when a file is sent to a recipient as an attachment from
Word, probably since the resulting email window is in MAPI mode.
Is there a way for an Outlook COM add-in to be called in the above
scenario?
As it so happens <g>, I've also developed an extended MAPI add-in that
will display in the above scenario.
My problem is that I don't want both buttons displaying on the same
toolbar when messages are created from Outlook.
I've tried to have my COM add-in delete the extended MAPI button from
the Standard toolbar when it loads, but the extended MAPI button is the
only button that doesn't delete!
So then, I've tried to determine the parent window of my extended MAPI
button. If it's Outlook don't show it since my COM button will work.
And if it's Word, show since I know the COM button won't show. Sounds
good, but I can't find a way to detect whether Outlook's new message
window is spawned from Outlook or Word.
Grrrrrr.
Any help is greatly appreciated!!!
-Jim