Jump to content
Sign in to follow this  
t0ddie

trouble closing a gui

Recommended Posts

t0ddie

#include <GUIConstants.au3>
$msg = 0
$yeps = GUICreate("quijibo", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP,$WS_EX_TOPMOST)
GUISetBkColor (0x000000)
GUISetState ()

sleep(5000)

winclose("quijibo")

$msg = 0

$nopes = GUICreate("zoloft", 510, 390)
While $msg <> $GUI_EVENT_CLOSE
   $msg = GUIGetMsg()
wend

i want to close the first gui, and start the new one.

it starts the new one then closes it.

with the code i have now its not working and

i tried a few different things. cant figure it out.

the second gui i want to remain open when the first one closes

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites
buzz44

#include <GUIConstants.au3>

$yeps = GUICreate("quijibo", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP,$WS_EX_TOPMOST)
GUISetBkColor (0x000000)
GUISetState ()

sleep(5000)

GUIDelete($yeps)

$nopes = GUICreate("zoloft", 510, 390)
GUISetState ()

Dim $msg
While $msg <> $GUI_EVENT_CLOSE
   $msg = GUIGetMsg()
wend


qq

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×