View Single Post
  #1  
Old March 14th 07, 12:54 PM posted to microsoft.public.outlook.program_addins
Mohit
external usenet poster
 
Posts: 6
Default Displaying popup when composing a mail item.

I am creating Outlook AddIn using C#, VSTO 2005 SE and outlook 2003.

I have added two buttons on toolbar in the inspector window which is
opened after the user had pressed New button to compose a new mail.
Here while composing the mail editor type is Word Mail.

When user clicks my custom button of my toolbar while composing the
new mail I wrote the code for displaying a Custom Form. But when I run
this only my Form's border appears not the controls contained in the
form. And moreover Application Hangs!!! Nothing seems to happen.

Same custom form works correctly when a mail item is opened to read
and button is clicked. But it is not working while writing/composing a
new mail item.

I am not getting why it is occuring and how can I display my popup
correctly?
Are there some other approaches to accomplish this?

Ads