Hallo zusammen,
ist es möglich, das wenn die Standard GUI minimiert wird eine zweite Gui sich maximiert und das ganze Über eine Func ohne die While Schleife zu benutzen? Und in der zweiten Gui soll wenn der Button geklickt wird diese zweite sich minimieren und die erste sich wieder maximieren. Alles ohne While Schleife.
Wenn ja, könnte mir das bitte jemand an Hand eines Bsp. zeigen?
Spoiler anzeigen
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 250, 250, 100, 124)
GUISetState(@SW_SHOW)
$Form2 = GUICreate("Form1", 100, 100, 100, 124)
$Button = GUICtrlCreateButton("Maxi", 20, 60, 60, 25)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitchWEnd
Mfg Ghostleader