Splash Screen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mori

    #1

    Splash Screen


    Hi,

    I have a splash screen that displays on screen before my main GUI. The
    splash screen appears in front of any other windows that happen to be open
    at the time but when my main GUI finally appears, it is behind the topmost
    window, whether it is an open folder or Outlook Express or whatever. How do
    I get my main GUI to load in front of any open window?

    Thanks
    Mori


  • Harkos

    #2
    Re: Splash Screen

    Hi Mori,

    I have the same problem with my application. I tried to make the main form
    call BringToFront() but seems to me it only minimizes the problem. It still
    happens from time to time.

    Now this is something I just thought: try making the splash call
    BringToFront() upon the main form at some point. I don't have my code here
    to test now but I'd give it a shot.

    []'s,
    Harkos


    Comment

    • Mori

      #3
      Re: Splash Screen

      Hi Mark,

      Yes that works a treat. I set the form to topmost = true for a couple of
      seconds then set it to false so it behaves like anyother windows.

      Thanks,
      Mori


      "Mark" <f1fannz@hotmai l.com> wrote in message
      news:eTdBzTwVDH A.1600@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Hi Mori
      > You need to set the forms Topmost property to True :)
      >
      > Hope it helps
      > Mark
      > "Mori" <mori@design-paradigm.co.uk> wrote in message
      > news:ORpvnErVDH A.2164@TK2MSFTN GP09.phx.gbl...[color=green]
      > > Hi Harkos,
      > >
      > > BringToFront() just applies to forms and controls in the application and[/color]
      > not[color=green]
      > > other running applications (I think). Well I know it didn't work for me,[/color]
      > my[color=green]
      > > main form still appears behind any other running application on my[/color]
      > desktop.[color=green]
      > >
      > > Thanks anyway,
      > > Mori.
      > >
      > >[color=darkred]
      > > > Hi Mori,
      > > >
      > > > I have the same problem with my application. I tried to make the main[/color][/color]
      > form[color=green][color=darkred]
      > > > call BringToFront() but seems to me it only minimizes the problem. It[/color]
      > > still[color=darkred]
      > > > happens from time to time.
      > > >
      > > > Now this is something I just thought: try making the splash call
      > > > BringToFront() upon the main form at some point. I don't have my code[/color][/color]
      > here[color=green][color=darkred]
      > > > to test now but I'd give it a shot.
      > > >
      > > > []'s,
      > > > Harkos
      > > >
      > > >[/color]
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...