Showing a Region in a reading pane

Add-in Express™ Support Service
That's what is more important than anything else

Showing a Region in a reading pane
Wondering about Regions in a Reading pane... 
Simon Cousins




Posts: 5
Joined: 2015-06-01
I have a fully working Add-In Express Region component implemented in email forms. Works nicely but I come to realize during QA that it does not appear in a reading pane as some people chose to reply in the reading pane instead of using pop-out. How can I have a Region appear in a reading pane. I want to avoid creating multiple Regions if possible.

(Simon : VB .NET guy)
Simon
Posted 10 Jun, 2015 11:48:03 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Simon,

Create two ADXOlFromsCollectionItem objects; one is showing the pane in an inspector window, the other shows the same pane in the Reading Pane. Say, You can set ADXOlFromsCollectionItem.ExplorerLayout=RightReadingPane.

In the ADXOlFormsManager.OnInitialize event, you check the registry value mentioned at https://social.technet.microsoft.com/Forums/office/en-US/fe7d9a71-a671-44cd-9677-217f7cb1294a/open-replies-and-forwards-in-a-new-window?forum=outlook. Depending on this value, you disable the first or the second ADXOlFromsCollectionItem.


Andrei Smolin
Add-in Express Team Leader
Posted 11 Jun, 2015 04:54:57 Top
Simon Cousins




Posts: 5
Joined: 2015-06-01
I'm trying to add a region with controls in the green area in this image. http://postimg.org/image/dxt2xvqil

I'm just not finding a combination of Region configuration that works.

Is it possible to add buttons, text and other controls in the green area ?

Thanks in advance.
Simon
Posted 01 Jul, 2015 16:05:10 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Simon,

It seems you look for InspectorLayout=Topsubpane. Is this so?


Andrei Smolin
Add-in Express Team Leader
Posted 02 Jul, 2015 02:52:19 Top