Hey Leute,
Ich hab ein problem mit Autoit
Ich würde gerne eine Gui , ohne sie zu schließen, verkleinern. Ich hab das auch geschafft nur schaut das komisch aus :S!
#include
#include
#include
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form2", 870, 163, 302, 218)
$Button1 = GUICtrlCreateButton("Button1", 16, 80, 101, 49, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Button1", 392, 80, 101, 49, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Button1", 268, 80, 101, 49, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Button1", 136, 80, 101, 49, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Func Verkleinern ()
Winmove ("Form2","","default","default", 509 , 163)
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Verkleinern ()
EndSwitch
WEnd
Hoffe mir kann wer erklären wie es richtig gehört
mfg