#thanks :D
$Form1 = GUICreate("", 117, 64, 632, 308)
$Label1 = GUICtrlCreateLabel("Second Gui", 24, 8, 60, 17)
$Button1 = GUICtrlCreateButton("Start", 8, 32, 97, 25)
$Form2 = GUICreate("", 143, 56, 654, 282)
$Button2 = GUICtrlCreateButton("Hide / Show", 8, 8, 129, 41)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
Case $Button1
GUISetState(@SW_HIDE, $Form1)
GUISetState(@SW_SHOW, $Form2)
Case $Button2
GUISetState(@SW_HIDE, $Form2)
GUISetState(@SW_SHOW, $Form1)
EndSwitch
WEnd
Opt("GUIOnEventMode")
ich weiß :b mach ich immer :3 aber ich hab sein source gesehn btw. deinen x) habs mir so gedachtQuote:
Das ist schon so in Ordnung man könnte auch nochverwenden aber dann kann man die Schleife weglassen, sofern das kein aufwendiges Programm wird geht das meiner Meinung nach.Code:Opt("GUIOnEventMode")