A CTP will be docked at the bottom or sides of the Outlook window. You can't
make it replace only the area the preview pane occupies when preview is
displayed at the bottom.
You can use a form region without using VSTO. Some of my shared addins
written using C# use form regions.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"escamoteur" <(E-Mail Removed)> wrote in message
news:711F8469-8FA0-4F49-94D8-(E-Mail Removed)...
> Hi,
>
> I just added a CustomTaskPane to my Exlorer window (Outlook 2007, COM
> Addin C#)
>
> It works, but it strechtes ober the whole witdh of Outlook and not only
> below the Explorer View as the standard preview pane.
>
> Is it possible to make the CustomPane look like a preview pane? Like it's
> now it just takes too much space.
>
> I just watched a video showing how to use a FormRegion to replace the
> Preview pane based on the message class in VBA and VSTO. Is this also
> possible to do with C# and a com-addin?
>
> Best
>
> Tom