Hi, ich hab ein Skript, welches aber nicht funktioniert. Der Button lässt sich aus irgendeinem Grund nicht drücken.
Hier is der Code:
Viell. findet ihr ja was.
Hier is der Code:
PHP Code:
; Includes
#include <NoMadMemory.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
;GUI
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\philipp keil\desktop\autoit\gui.kxf
$GUI = GUICreate("Solitär Hack", 302, 152, 577, 295)
$Background = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Philipp Keil\Desktop\Background.jpg", 0, 0, 300, 150, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS))
$Autor = GUICtrlCreateLabel("P.K.", 277, 133, 24, 17)
$WantedPointsInput = GUICtrlCreateInput("0", 8, 56, 121, 21)
$CurrPointsLabel = GUICtrlCreateLabel("Curr. Points:", 16, 8, 129, 17)
$WantedPointsLabel = GUICtrlCreateLabel("How many Points do you want to have?", 8, 40, 192, 17)
$ChangeButton = GUICtrlCreateButton("Change Data", 72, 125, 195, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ChangeButton
MsgBox(0,"","")
EndSwitch
WEnd
;Functions
Func Change()
msgBoX (0,"test","")
EndFunc