Klar. Hier mal ein Beispiel für eine GUI mit Checkboxen und Buttons:
Spoiler anzeigen
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]$hWnd = GUICreate("Beispiel", 400, 200)
$Button1 = GUICtrlCreateButton("Button1", 5, 5, 50, 25)
$Button2 = GUICtrlCreateButton("Button2", 60, 5, 50, 25)
$Button3 = GUICtrlCreateButton("Button3", 115, 5, 50, 25)
$Check1 = GUICtrlCreateCheckbox("CheckBox1", 5, 30)
$Check2 = GUICtrlCreateCheckbox("CheckBox2", 5, 55)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(64, "Event", "Du hast Button 1 angeklickt")
Case $Button2
MsgBox(64, "Event", "Du hast Button 2 angeklickt")
Case $Button3
MsgBox(64, "Event", "Du hast Button 3 angeklickt")
Case $Check1
MsgBox(64, "Event", "Du hast Checkbox 1 angeklickt")
Case $Check2
MsgBox(64, "Event", "Du hast Checkbox 2 angeklickt")
EndSwitch
WEnd