also ich habe versucht in einem gui hintergrund music laufen zu lassen das hat auch alles toll geklapt aber als ich das gui geschlossen habe trallalate das lied einfach weiter.
also meine frage ist wie kann ich machen das die music aufhört zu spielen wenn das gui geschlossen wird?
hier mal das teil vom script
Spoiler anzeigen
Func _About()
;---------------------- Überfenster --------------
SoundPlay( @TempDir & "about.mp3")
$dlgAbout = GUICreate("!?!About!?!", 298, 161, 303, 219)
GUISetBkColor(0x000000)
$GroupBox1 = GUICtrlCreateGroup("", 8, 8, 281, 113)
$Image1 = GUICtrlCreatePic( @TempDir & "\LoGo.bmp", 16, 24, 105, 44, BitOR($SS_NOTIFY,$WS_GROUP))
$Label1 = GUICtrlCreateLabel("Produkt Name : TrayHelper", 152, 24, 133, 17, $WS_GROUP)
GUICtrlSetColor(-1, 0x00FA00)
$Label2 = GUICtrlCreateLabel("Version : 0.0.0.0001", 152, 48, 99, 17, $WS_GROUP)
GUICtrlSetColor(-1, 0x00FA00)
$Label4 = GUICtrlCreateLabel("Website:", 16, 96, 46, 17, $WS_GROUP)
GUICtrlSetColor(-1, 0x00FA00)
$Label3 = GUICtrlCreateLabel("Copyright : By MaStEr Of FrEaKness A.K.A LeV-GoT.T", 16, 72, 267, 17, $WS_GROUP)
GUICtrlSetColor(-1, 0x00FA00)
$inet = GUICtrlCreateLabel("http://www.Levin1993.de", 96, 96, 127, 17)
GUICtrlSetColor(-1, 0x00FA00)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("&OK", 8, 128, 283, 25)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUIDelete($dlgAbout)
Case $inet
Run('C:/Programme/Internet Explorer/iexplore.exe "http://www.Levin1993.de"')
EndSwitch
WEnd
;------------------------------------------------
EndFunc ;==>_About