Accessing Message button from Outlook 2007 C# form region
Posted on 2009-04-13
I've created a form region using the VS 2008 wizard for outlook 2007. This form region is displayed when you create a new email. You then toggle between the email massage and the form region by using the Show Ribbon buttons(Message,"form region name").
The form region C# code has a listbox that you can select some specific email text and a button that causes the email text to be filled out in the current email that you have open.
This all works but I want to close the form region or return to the main email message when I click on my form region button. (Simulate a on_click event of the Message button on the ribbon.