View Single Post
  #3  
Old May 26th 09, 04:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to add button to received e-mail message?

You can add any sort of button you want but it would have to be in the menus
or toolbars (or ribbon for Outlook 2007). To add it to another place you
would need to use Win32 API calls to overlay your window (with button) where
you want it and to handle all clicks on the button using handling and
callbacks for Windows messages directed to that window.

Any button you add can open whatever dialogs you want, you just have to
create them. Whether or not you can get at the information you want is
another story, in most cases signed/encrypted message properties are hidden
from the Outlook object model.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"ryotyankou via OfficeKB.com" u48591@uwe wrote in message
news:9697db712fc9d@uwe...
If you received a message signed or encrypted by the sender, you will see
a
button with a signature or encryption icon at right of the e-mail view
dialog.
While click on it, it will pop up a dialog, "digital signatrue: Valid",
and
show the message's subject and sender, and have a "detailed..." and a
close
button. If you click on "detailed.."button, it will show "Message Security
Properties".
My question is that Is it possible for me to add such a button, and show
the
same dialog(of course, signer may be not same) on it?

--
Message posted via http://www.officekb.com


Ads