[autoit]
; Gui, Icons, etc...
[/autoit][autoit][/autoit][autoit]Global $i_Msg
While True
$i_Msg = GUIGetMsg ()
Switch $i_Msg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
For $i = 0 To UBound ($Icons) - 1
If $i_Msg = $Icons[$i] Then ExitLoop MsgBox (0, '', 'Sie haben auf Icon Nr.' & $i + 1 & ' geklickt')
Next
WEnd
So in der Art würde ich es machen...