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:
- Where in the Windows Registry is this setting located and what value am I required to write to activate "Optimize for compatibility" mode?
- How can I make my WinForms add-in work with the new "Optimize for best appearance" mode?
Update
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.