We are using a SplashScreenManager to control a WaitForm. This is to show progress on long running tasks because our application is not multi threaded.
We sometimes notice, when running longer tasks, that the WaitForm "jumps" behind the main application window. Even tho, it is constructed with ShowOnTopMode set to "ShowFormOnTopMode.AboveParent". This is a problem, since it is no longer possible to the user to see that the application is actually working.
We tried using the deprecated "TopMost" variable instead, but this forces the waitform above all other applications, which we do not want.
The waitform is only changed by sending commands to it by calling SpashScreenManager.SendComment and handling the command in WaitForm.ProcessCommand
It seems like this happens when the application goes into "Not responding" mode. Because of the message loop not responding.
Do you know why this might happen?
Per Kafka Thygesen