I have some VB.Net forms that users can open by clicking on a custom toolbar in ArcMap (9.3). These forms are setted to be "topMost" to always stay over the map. The problem is that if user switch to another Windows application on his desktop without minimizing ArcMap first, these forms are still visible and it is certainly not very convenient for the users...
Any suggestion on how to force these forms to hide when ArcMap application lose focus?
Take a look at this thread, which gives a couple of examples of some code how to do that. When I use this in an application with an open form, minimizing ArcGIS will also minimize the form, and I don't have to use the "topMost" setting.
Take a look at this thread, which gives a couple of examples of some code how to do that. When I use this in an application with an open form, minimizing ArcGIS will also minimize the form, and I don't have to use the "topMost" setting.