I am in the process of implementing an add-in for outlook. I am currently implementing all messages with the MessageBox
. As this is not a nice solution, I would like to display the messages via a reading pane or something similar. How can I implement this in Vsto with C#? Or is there a better solution?
CodePudding user response:
You may consider creating a form region in Outlook. See Create Outlook form regions for more information.
Also you may find the Walkthrough: Design an Outlook form region helpful.
CodePudding user response:
Task panes would be a good option (see https://docs.microsoft.com/en-us/visualstudio/vsto/walkthrough-displaying-custom-task-panes-with-e-mail-messages-in-outlook?view=vs-2022).
Note that unlike Outlook form regions, task panes give you full control over when they are shown and hidden.