[Dev-C++] Checking if Mediaplayer is playing
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <A_B...@gm...> - 2004-08-31 23:48:20
|
Hi,
how can I detect if the Mediaplayer(2) is playing or is stoped ???
I start playing a media file with
ShellExecute(0, "Open", "filename.mp3", "", "", 1);
and get the handle of the Mediaplayer with
FindWindow("Media Player 2", NULL);
Now I whant to close the Mediaplayer or load another media file, if the currend media file has
stopped playing...
Any suggestions, maybe with the SendMessage() API-function ???
tnx, Acki
|