#include <GUIConstantsEx.au3>

$hGUI = GUICreate("Test", 500, 500)

GUICtrlCreateLabel("1", 100, 15, 100, 20)
GUICtrlCreateLabel("2", 100, 55, 100, 20)
GUICtrlCreateLabel("3", 100, 95, 100, 20)

$hButton_1 = GUICtrlCreateButton("Go", 10, 10, 80, 30)
$hButton_2 = GUICtrlCreateButton("Go", 10, 50, 80, 30)
$hButton_3 = GUICtrlCreateButton("Go", 10, 90, 80, 30)

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $hButton_1
            MsgBox(0, "Auswahl", "1")
        Case $hButton_2
            MsgBox(0, "Auswahl", "2")
        Case $hButton_3
            MsgBox(0, "Auswahl", "3")
    EndSwitch
WEnd