UI problems with Office 365 Version 1906 (Build 11727.20230)

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

UI problems with Office 365 Version 1906 (Build 11727.20230)
Controls are hidden 
Subscribe
Sergey Chizh




Posts: 65
Joined: 2012-10-23
Hi.

Many of our customers are using Office 365 Monthly channel subscription. Recently they have reported that our AddIn stopped working as expected after June 27 update (version in title). UI controls are hidden on AddIn form http://prntscr.com/oahp27

Previous builds work as expected.
Do you know anything about the issue?
Thank you!
Posted 04 Jul, 2019 06:17:36 Top
Andrei Smolin


Add-in Express team


Posts: 16436
Joined: 2006-05-11
Hello Sergey,

No, we don't. What version of AddinExpress.OL.2005.DLL is referenced by your add-in project? I assume that the form shown isn't ADXOlForm, correct?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Jul, 2019 09:30:57 Top
Sergey Chizh




Posts: 65
Joined: 2012-10-23
Hi Andrei,

The version is 9.2.4635.0.
Yes, the form is not ADXOlForm, it is Windows.Forms.Form, and we use DevComponents.DotNetBar controls there. Apparently it is something in their controls and (probably) in MS Office update.

Thank you for your time.
Posted 05 Jul, 2019 02:58:15 Top
Andrei Smolin


Add-in Express team


Posts: 16436
Joined: 2006-05-11
Hello Sergey,

Make sure you show that form modally as non-modals usually interfere with the windowing of the Office application.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Jul, 2019 04:34:18 Top
Sergey Chizh




Posts: 65
Joined: 2012-10-23
Yes, it is modal. Thank you :)
Posted 05 Jul, 2019 07:23:34 Top
Andrei Smolin


Add-in Express team


Posts: 16436
Joined: 2006-05-11
Hello Sergey,

Oh! Is this a recent Windows 10 version? Does the issue go away if the user selects the Optimize for compatibility option in Display Settings; see the status bar or File | Options | General. Select this option and restart the Office application.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Jul, 2019 08:30:07 Top
Sergey Chizh




Posts: 65
Joined: 2012-10-23
Hi Andrei,

WOW, it helped! Thank you very much :)
Do you have any link, where we can read about it or is it your experience?
Posted 05 Jul, 2019 09:08:31 Top
Andrei Smolin


Add-in Express team


Posts: 16436
Joined: 2006-05-11
Great!

Your issue is caused by neglecting the DPI context when using the SetParent Windows API function. At https://www.add-in-express.com/creating-addins-blog/2018/09/24/panes-problems-solved/, you can find slightly more details.

As to how to solve this issue, please have a look at https://www.add-in-express.com/forum/read.php?FID=5&TID=15473&MID=79793#message79793.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Jul, 2019 09:38:01 Top