Results 1 to 4 of 4

Thread: [SOLVED] Splash Screen Hidden By Maximized Form

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2010
    Posts
    51

    [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.
    Last edited by blaknite; Feb 9th, 2012 at 06:00 PM.

  2. #2
    Hyperactive Member DavesChillaxin's Avatar
    Join Date
    Mar 2011
    Location
    WNY
    Posts
    451

    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.
    Please rate if my post was helpful!
    Per favore e grazie!




    Code Bank:
    Advanced Algebra Class *Update | True Gradient Label Control *Dev | A Smarter TextBox *Update | Register Global HotKey *Update
    Media Library Beta *Dev | Mouse Tracker (Available in VB.net and C#.net) *New | On-Screen Numpad (VB.net) *New

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2010
    Posts
    51

    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

  4. #4
    Hyperactive Member DavesChillaxin's Avatar
    Join Date
    Mar 2011
    Location
    WNY
    Posts
    451

    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.
    Please rate if my post was helpful!
    Per favore e grazie!




    Code Bank:
    Advanced Algebra Class *Update | True Gradient Label Control *Dev | A Smarter TextBox *Update | Register Global HotKey *Update
    Media Library Beta *Dev | Mouse Tracker (Available in VB.net and C#.net) *New | On-Screen Numpad (VB.net) *New

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width