AnsweredAssumed Answered

Messagebox has separate button on taskbar

Question asked by bveldkamp on Oct 2, 2019

I noticed that the native ArcGIS MessageBoxes have their own button on the Windows taskbar (e.g. the 'Do you want to save...' box when closing Pro). This can be somewhat confusing for users, especially when the setting to group taskbar buttons is not enabled, so I was wondering if it it possible to change this behavior.

 

One thing that is very annoying happens when hovering the mouse over the taskbar button, and then hovering over the MessageBox thumbnail; all other windows, including the ArcGIS Main window, will now be hidden (default Windows 10 behavior).

 

The same happens when showing a MessageBox from an add-in. It doesn't seem to matter if I set the parent window or not:

 

ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(Application.Current.MainWindow, "Message");

 

Note that unfortunately I'm still working with 2.2, so if anyone can confirm wether this is fixed in a later version, that's OK too.

Outcomes