Tryin to implement VSTO Outlook Form Region as main reading pane by replacing IP
I'm trying to implement a form region as the main Read Pane in Outlook. I have manage to make an adjoining and separate regionTypeForm work. But when I want to replaceAll or replace I see the default form of Message.
I can't find a working example of form region replacing the default reading pane.
Can't someone please point me to a working example. I'm using addin-Express right now to call my form region by overwritting "protected override object RequestService(Guid serviceGuid)"
and calling my Class MailReadingHelper
[ComVisible(true),
Guid("88F7BFBE-7777-4a0c-BCFD-2740E6625E04"),
ProgId("SummitMaritime.MailAgent.OutlookClient.MailReading"),
ClassInterface(ClassInterfaceType.AutoDual)]
public class MailReadingHelper : Outlook.FormRegionStartup ...
protected override object RequestService(Guid serviceGuid)
{
if (serviceGuid == typeof(Microsoft.Office.Interop.Outlook.FormRegionStartup).GUID)
{
if (formReading == null)
{
formReading = new MailReadingHelper();
}
return formReading;
}
return base.RequestService(serviceGuid);
}
I have a IPM.Note.MailReading in my registry pointing to a xml manifest.

