ESRI.ArcGIS.Mobile.Client.Windows.MessageBox always stays on top of all windows open

1921
0
06-19-2014 04:09 AM
vijaykumarvempati
New Contributor
Hi,

Issue: In my project I am using ESRI.ArcGIS.Mobile.Client.Windows.MessageBox.showdialog() to show any messages, but when this message box gets displayed on the screen snd without responding to message box if I use alt+tab or shift focus to different tabs open on the desktop then the Message box always stays on the top and doesnt loose focus.

I tried setting the owner(System.Windows.Application.Current.MainWindow) to the message box using the one of the overload method of Show Dialog , but that didnt work out to stick the message box focus same as ArcGIS Mobile application.

The OOTB tasks like Identify, search and Collect Features also display the Message box which is not sticked to ArcGIS Mobile instead floats on top of the screen.

Please let me know if anyone has any idea how we can change this behaviour of Message box so that it gets on top only when ArcGIS Mobile is brought back to focus.

Thanks in advance.

Thanks,
Vijay Kumar Vempati
0 Kudos
0 Replies