Adding a button to mail window

  • Thread starter Thread starter ms
  • Start date Start date
M

ms

hi all iam new to add-in's here is what iam trying to do.

I need a button to be added to the mail window(both for
new mail and for existing mail) before sending this user
can click on this button which would pop up a customized
window(created in vb) copies the content like subject and
body there will be a send button on this new window.

as the user's can open multiple mail windows and can click
the "new button" how do we capture the button click event/
open the customized form with the e-mail window contents.

thanks in advance
 
All items are opened in an Inspector and the item is then
Inspector.CurrentItem. You handle the NewInspector event of the Inspectors
collection to see when a new item is opened. If more than one item is open
at a time you need a wrapper collection for the Inspectors that uses a
unique Tag property to set the button's Tag property. That way the Click
event of the button will only fire for that Inspector and not in each
Inspector that is open.

See the ItemsCB COM addin sample on the Resources page at www.microeye.com
for a VB 6 example of COM addin best practices and an Explorer wrapper. Also
Google for Inspector wrapper to see examples of those that have been posted
to these newsgroups.
 
Back
Top