title: Adding a collapsible panel in outlook
body: <p>I'm writing an outlook add-in and I'm looking for a way to make a panel docked on the right of my screen collapsible. At the moment the panel is either displayed or removed. You can also scale it but that's not what I'm looking for. I already tried adding 2 buttons which change the width of my panel onclick but the result is that my panel can't get smaller than about 60px in width and the title is still there. Here is the code I use to add my pane:</p>
  
  <pre><code> Microsoft.Office.Tools.CustomTaskPane ctp;
   private HistoryPane ctrl;
   string title = "Task History";
   ctrl = new HistoryPane(mailItem);
   ctp = Globals.ThisAddIn.CustomTaskPanes.Add(ctrl, title);
   ctp.Visible = true;
   ctp.Width = 460;
   ctp.DockPosition = Microsoft.Office.Core.MsoCTPDockPosition.msoCTPDockPositionRight;
  </code></pre>
  
  <p>Any help to either remove the title, make the panel thinner (about 25px), make it collapsible or all of them would be much appreciated.</p>