We have an Office VSTO add-in for Outlook written in C# and using Windows Forms.
Before a recent Office update, the add-in was rendering just fine. But after Microsoft introduced Office support for high definition displays, many forms started to render blank in Outlook 2016 (MSO / Office 365).
I can fix this inside Outlook by selecting "Optimize for compatibility" in Display Settings on the bottom status bar in Outlook:
But this is not a tenable solution for our customers, if every user has to do this manually. So I have two questions:
I have discovered that disabling transitions fixed the problem in one form where the controls started appearing after removing transitions. But our most important form still renders blank even after removing all transitions.
I also tried to upgrade the project to .NET 4.7 and enable the new high DPI support for Windows Forms. But that also did not solve the problem.
I can now answer question 1 myself: Outlook 2016 MSO stores the setting under
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options
under the name "RenderForMonitorDpi". If this is set to 1, the option is set to "Optimize for best appearance". If set to 0, it will be set to "Optimize for compatibility".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With