|
#include <GUIConstants.au3>
GUICreate("My GUI")
$Button1 = GUICtrlCreateButton("wert", 225, 75, 50, 25, $BS_ICON)
$Button2 = GUICtrlCreateEdit("", 75, 78, 60, 20, $BS_ICON)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
If $msg = $Button1 Then
MsgBox(0, "", GUICtrlRead($Button2))
EndIf
WEnd
[code] tags funzen irgendwie nicht, der löscht dann automatisch nen paar wörter..
|