Issues with region visibility in Outlook regions

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

Issues with region visibility in Outlook regions
Changing visibility creates  
Patryk Konieczny


Guest


Hi,

We're experiencing different visual issues with regions.

First we observed in Outlook Version 2209 Build 16.0.15629.20200 (I also tried to reproduce it on Version 2209 Build 16.0.15629.20196 but didn't manage to repoduce it there).
After showing up the region docked to right in explorer view, closing it (using the "X" close button on it) and then switching between folders, we can observe artifacts and graphical issues like shown below:
User added an image
User added an image

Without attaching the panel this issue does not happen.

Code used to create form collection item:

            new ADXOlFormsCollectionItem
                {
                    ExplorerLayout = ADXOlExplorerLayout.DockRight,
                    ExplorerItemTypes = ADXOlExplorerItemTypes.olMailItem | ADXOlExplorerItemTypes.olNoteItem,
                    Splitter = ADXOlSplitterBehavior.Standard,
                    AlwaysShowHeader = false,
                    IsMinimizedStateAllowed = true,
                    IsHiddenStateAllowed = true,
                    UseOfficeThemeForBackground = false,
                    FormClassName = typeof(AddinExpressForms.ConnectedFolderStatusPanel).FullName,
                    CloseButton = true,
                    Cached = ADXOlCachingStrategy.OneInstanceForAllFolders,
                    ExplorerAllowedDropRegions = 
                        ADXOlExplorerAllowedDropRegions.DockRight
                            | ADXOlExplorerAllowedDropRegions.DockLeft 
                            | ADXOlExplorerAllowedDropRegions.LeftReadingPane 
                            | ADXOlExplorerAllowedDropRegions.RightReadingPane
                            | ADXOlExplorerAllowedDropRegions.BottomNavigationPane,
                    IsDragDropAllowed = true,
                    DefaultRegionState = ADXRegionState.Hidden
                };


It seems to be connected to the issue that we tried to workaround - when setting Visible property inside the ADXOlForm during OnADXBeforeFormShow event, the form stops rendering, but leaves empty "AdxServiceTP" region.
We need to change that visibility, as we want to show the form only in specific situations, instead of it being visible for the whole application lifetime.
Is there a workaround or is it possible to get some fix for this issue?
Posted 03 Nov, 2022 07:04:29 Top
Andrei Smolin


Add-in Express team


Posts: 18993
Joined: 2006-05-11
Hello Patryk,

I've sent you an email containing a download link to an intermediate build of Add-in Express Regions for VSTO with an instruction on how to install it.

After installing it, download this add-in project:
https://temp.add-in-express.com/support/OutlookAddIn8_PatrykKonieczny.zip

The project shows a pane only if the subject of the selected email starts with ?Â?Ð?ìA?Â?Ð?í or ?Â?Ð?ìa?Â?Ð?í. Check the code and try to use it in your real add-in. If the issue persists, modify the sample project so that the issue is reproducible and send me the project.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Nov, 2022 05:12:48 Top
Patryk Konieczny


Guest


Hi Andrei,
it seems that provided build resolved the problem.

Thank you for your assistance!
Posted 09 Nov, 2022 05:19:06 Top
Andrei Smolin


Add-in Express team


Posts: 18993
Joined: 2006-05-11
Hello Patryk,

Thank you for the good news!

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Nov, 2022 08:35:25 Top
Roland Walde




Posts: 13
Joined: 2016-12-13
Hi Andrei,

can you send me this fix fix please?
I have same issues.
I Use Add-in Express for .NET Pro.

Thanks.
Posted 24 Nov, 2022 03:18:51 Top
Andrei Smolin


Add-in Express team


Posts: 18993
Joined: 2006-05-11
Hello Roland,

I've sent you an email with a fix for this issue and instruction on how to apply the fix.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Nov, 2022 08:51:21 Top
Roland Walde




Posts: 13
Joined: 2016-12-13
Hi Andrei,

we have still issues in diplaying our form in Outlook365 with latest Updates.
We have clients running Office 2016,2019 without issues for years.
Even office365 worked untiel latest updates.

Here is Offce 2019 an how it should look like:

https://imgbb.com/
https://ibb.co/kB8KNfR

and this is Office365 on latest updates:
https://imgbb.com/
https://ibb.co/khdvxtX


hope you can help me
regards
Roland
Posted 31 Jan, 2023 05:02:19 Top
Andrei Smolin


Add-in Express team


Posts: 18993
Joined: 2006-05-11
Hello Roland,

What controls do you have on your form: WPF or Windows Forms? Is the issue reproducible on a simple project? If yes, please send it to the support email address; find it in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 31 Jan, 2023 07:15:10 Top