TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jorgen De Gier
from: Edwin Groothuis
date: 1996-03-17 10:05:02
subject: mciPlayFile() question

In a message on 10 March 96 19:06 to Edwin Groothuis, Jorgen De Gier wrote:

 >  EG> does somebody known what the first parameter of mciPlayFile(), HWND
 >  EG> hwndOwner, does? I'm actually looking for a way to tell if an
asynchrono
 > us
 >  EG> played audiofile is stopped. I've tried to intercept WM_CONTROL
 > and
 >  EG> MM_MCINOTIFY at the hwndOwner, but without luck...
 > mciPlayFile needs a message queue, the HWND supplies it. ( I guess )

The trick was that the message was send to the applications queue, but the
dispatch didn't send it to the window-procedure. Since I know this I've
just added this to the mainloop and now everything works fine ;-)

 > ( I think I've seen the Multimedia online manuals at http://www.austin.ibm.co
 > m/os2games )

Where did you think I got the mciPlayFile-info from ;-)

Edwin

@EOT:
--- FMail/2 1.02
* Origin: MavEtJu rules! (2:284/205.1)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 284/205 2 280/0 801 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.