Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   notify (https://www.delphipraxis.net/55490-notify.html)

Sveno2 23. Okt 2005 12:42

Re: notify
 
Also, wenn ich vorm opendialog.execute nochmal notify auf false setze geht er trotzdem in die onnotify prozedur.
Aber ich hab das Problem jetzt anders gelöst:

Delphi-Quellcode:
procedure TForm1.MediaPlayer1Notify(Sender: TObject);
begin
 if mediaplayer1.DeviceID <> 0 THEN
    ... eigentliche onnotify Prozedur
end;
So überprüft er zuerst ob ein MCI-Gerät geöffnet ist und wenn nicht (wie nach dem close, dann geht er erst garnicht in die eigentliche onnotify prozedur.

Danke für eure Hilfe:)

Sven


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:48 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz