Ending Splash Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ending Splash Page

    I want to create a splash page for the end of my project. I need to have a picture appear for X seconds, but i want the project to CLOSE BEFORE displaying the picture.

    The script i found in the knowlege base does the trick, but it displays the picture in front of the project. I want it to execute in this order...

    1. User clicks EXIT
    2. Menu/project disappears
    3. Splash graphic appears within 1 second
    4. Displays for 4 seconds

    TIA
  • Intrigued
    Indigo Rose Customer
    • Dec 2003
    • 6138

    #2
    This would be a nice feature.

    An Alternative Solution:
    Code:
    [*] Create 'main' exe (project).[*] Upon the user clicking the 'Exit' button (and/or e_Key event fires):
             a. main exe, just before being destroyed, opens second exe
             b. second exe (image only) is executed (thus opens)
               [b]Note:[/b]  second exe was 'installed' into current user's
                          'temp' folder during main exe intial execute state
                [b]Also[/b] second exe (project) would be a 'Flat Style'[*] second exe runs for four (4) seconds and then closes.
    Last edited by Intrigued; 02-20-2004, 12:38 AM.
    Intrigued

    Comment

    • JimS
      Indigo Rose Customer
      • May 2003
      • 1057

      #3
      I wonder if it might be easiest if for step #2, you jump to the page that contains your splash graphic, and resize the window to be the exact size of that splash graphic. In other words, the project itself becomes your splash screen. A timer event on the page displays the page for your 4 seconds, then the project closes.

      I realize that this might not be exactly what you have in mind, but it should give you an awfully similar effect. Just a thought.

      Comment

      • Worm
        Indigo Rose Customer
        • Jul 2002
        • 3971

        #4
        Here's a work-around

        Look in the Project/Actions/On Shutdown for the code. Simply uses the User32.DLL ShowWindow function to hide the current window, shows a Dialog.Splash for 5 seconds, then lets the app end.
        Attached Files

        Comment

        • Worm
          Indigo Rose Customer
          • Jul 2002
          • 3971

          #5
          Uhhhh, I guess you don't even need the DLL call

          Put this in the On Shutdown event:
          MenuHWND=Application.GetWndHandle();
          Window.Hide(MenuHWND)
          Dialog.SplashImage("AutoPlay\\Images\\splash.jpg", 5, false)

          Comment


          • #6
            Thanks Worm, worked like a charm! (the script)


            Regards

            Kazoo

            Comment

            • Worm
              Indigo Rose Customer
              • Jul 2002
              • 3971

              #7
              No problem, sorry for the DLL confusion. Sometimes I forget all the new features that have been rolled into this version :

              Comment

              Working...
              X