You are here: Office-Outlook.com  / Outlook Forum

Creating a New email message

Home » Outlook addins and plugins development » Microsoft Office add-ins
Creating a New email message [message #3533] Mon, 07 August 2006 12:02 Go to next message
Tom at GSD
Messages: 317
Registered: July 2006
Senior Member
I have created an addin that adds a menu item to the main outlook menubar.
The menu item has to generate a new mail message. I would like to change the
title of the new mail message window and a few other items before the new
message window is displayed. What is the correct way to cause the new mesage
window to appear without using the new message button, and is it possible to
change the properties of the new message window before it is displayed?

Thanks!
RE: Creating a New email message [message #3557] Tue, 08 August 2006 07:09 Go to previous message
Tom at GSD
Messages: 317
Registered: July 2006
Senior Member
Thank you for the reply. Yes I discovered this yesterday. The real trick to
this is calling the "Display" method, which in my case caused the new
inspector event to be fired.

"Nkv" wrote:

> Hello,
>
> This example will help you.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/vbaol11/html/olmthCreateItem_HV05247808.asp
>
>
> "Tom at GSD" wrote:
>
> > I have created an addin that adds a menu item to the main outlook menubar.
> > The menu item has to generate a new mail message. I would like to change the
> > title of the new mail message window and a few other items before the new
> > message window is displayed. What is the correct way to cause the new mesage
> > window to appear without using the new message button, and is it possible to
> > change the properties of the new message window before it is displayed?
> >
> > Thanks!
Previous Topic:Outlook instability question for managed controls on OL homepages
Next Topic:Is ItemSend really too late to set SentOnBehalfOfName ?
Goto Forum: