tags:

views:

286

answers:

1

Hello, I am working on a sidebar AddIn for Microsoft Outlook using Visual Studio Tools for Office. However, I can't figure out how to get rid of the header outlook puts on my sidebar when I show it in Outlook. Here is a screenshot showing the header, which contains the text "Sidebar Program": Sidebar Screenshot.

I would prefer that header not show, along with the border around my sidebar.

I am adding the control to Outlook using (control is an instance of UserControl, either a hosted WPF control or a windows forms control)

CustomTaskPane pane = Globals.ThisAddIn.CustomTaskPanes.Add(control, "Sidebar Program");

Any ideas? Thanks.

A: 

No way to do this using the Office 2007 CustomTaskPanes. You have to shove your window into outlook like this: http://www.codeproject.com/KB/office/additional_panel_Outlook.aspx

Max