How to control the width of the width of the Right Sub Pane on Outlook?

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

How to control the width of the width of the Right Sub Pane on Outlook?
 
Mark Lei




Posts: 5
Joined: 2020-08-25
I want to change the default width of the right sub pane when the form embedded in it was being shown, how to do it by code? The default width seems too narrow.
Posted 09 Sep, 2020 04:17:13 Top
Alexander Solomenko


Add-in Express team


Posts: 137
Joined: 2009-02-27
Hi Mark,

If the user did not change the form's width by using a splitter, it should be the same as you set it at design-time. The form's size is stored in the registry (HKCU\SOFTWARE\Microsoft\Office\Outlook\Addins\ADXForm) and restored when the form is loaded in Outlook. Also, you can change the form's width on Outlook start in the AdxAfterFormShow event.
Regards,
Aleksandr Solomenko
Posted 09 Sep, 2020 06:01:59 Top