[SOLVED] Splash Screen Hidden By Maximized Form
I have a Windows Form Application to which I added a splash screen created using the splash screen template. I also added an MDI Parent Form. In my project properties, I chose the splash screen and the MDI Parent as the loading form.
I want the MDI Parent to load Maximized, so I changed the WindowState Property in the list to do just that. Now here is the problem:
If I leave the WindowState set to Normal, the splash screen loads, does its thing, closes, then loads my MDI Parent just like it is supposed to, BUT, if I set the WindowState of the MDI Parent to Maximized, the splash screen displays for about a second, the MDI Parent loads on top of the splash screen, and the splash screen finishes in the background and then closes.
I tried giving Focus back to the splash screen in the Lost Focus event but that didn't work. I know splash screen is still open and working when it gets covered up because I can hit ALT+TAB and see it just before it closes on its own like its supposed to. I also never adjusted any of it's time settings or any other settings.
How do I keep the splash screen on top while my MDI form is Maximized? or how do I delay the MDI until the splash screen has done its job? I dont understand why I am getting this result.
Re: Splash Screen Hidden By Maximized Form
Have you tried setting the window state to maximize under your parents load event?
This way it's not maximized until the parent form loads, might fix your problem.
Also check to be sure your splash screen is set to top most. It may already be, due to it's a template and should've be set by default by who ever created it.
Re: Splash Screen Hidden By Maximized Form
Thanks Dave!
The template is the default splash screen that VB comes with. So it's Microsoft's problem :P
TopMost was set to False. I changed it to True and now it works :)
Re: [SOLVED] Splash Screen Hidden By Maximized Form
np :) you'd figure though a splash screen should always be on top, so you'd think that property would be true by default. Silly microsoft, sometimes I wonder.