🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #1279

TMediaPlayer Problem with Notify Event - HELP!

#1279
From: Hugh W Stewart
Date: Fri, 04 May 2001 15:45
17 lines
1588 bytes
I have a TMediaPlayer that is used for either sound or video clips.
I have my own buttons for Play, Pause and Resume.
When Play is clicked, I do a Notify = true and Play();
When Pause is clicked, I do a Notify = true and PauseOnly();
When Resume is clicked, I do a Notify = true and Resume();
If I just click Play, I get a Notify event when the play is complete.
If I click Play, then click Pause and then Resume, I don't get a Notify
event when play is complete.
This is a serious problem, because I want to close the window when it's
done playing.

Is this a bug, or is there something I am doing wrong?
And is there a good piece of documentation for TMediaPlayer somewhere?

Grateful thanks if you can help

Hugh Stewart
Technical Details
Message-ID: <3AF2CE82.33E804E6@usa.net>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,6226ea6ca671885f,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-05-04 09:10:08 PST
Message-ID: <3AF2CE82.33E804E6@usa.net>
Date: Fri, 04 May 2001 11:45:06 -0400
From: Hugh W Stewart <hughstewart@usa.net>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: TMediaPlayer Problem with Notify Event - HELP!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 141.154.59.116
X-Trace: dnews 988991104 141.154.59.116 (4 May 2001 08:45:04 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews