billthecreator Posted May 8, 2007 Posted May 8, 2007 Im trying to make a gui open inside a gui. have one gui, press a button, then open another gui. ive been trying, but i cant seem to get it. can somebody help me? [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap
Zedna Posted May 8, 2007 Posted May 8, 2007 Im trying to make a gui open inside a gui. have one gui, press a button, then open another gui. ive been trying, but i cant seem to get it. can somebody help me?Look for example here Resources UDF ResourcesEx UDF AutoIt Forum Search
i542 Posted May 9, 2007 Posted May 9, 2007 #include <GUIConstants.au3> $gui= GUICreate("GUI", 444, 255, 193, 113) $Button1 = GUICtrlCreateButton("Open another GUI", 102, 81, 159, 25, 0) GUISetState(@SW_SHOW) $to_open=GuiCreate("Gui to open") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GuiSetState(@SW_SHOW,$to_open) EndSwitch WEnd Tested i542 I can do signature me.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now