Ich habe ein Gui gemacht, welches ein pic (guictrlcreatepic ) enthält ... Wenn ich jetzt ne schleife mach:
[autoit]
$gui=guicreate('test')
$pic=guictrlcreatepic('test.gif', 10, 10)
guisetstate()
while 1
switch $msg
case $pic
msgbox(0, '', 'Du hast Auf das Bild geklickt')
endswitch
wend
Dann wird die ganze Zeit die msgbox engezeigt (also wie wenn man immer auf das Bild drücken würd. Warum???