#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 619, 442, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 32, 16, 75, 25)
$Button2 = GUICtrlCreateButton("Button2", 48, 56, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1 or $Button2
MsgBox(0,"","clicked")
EndSwitch
WEnd
Is this possible?