CompuServe Thread

mci command

2 messages in this thread
#184603From: Horst HaeberlenAug 12, 1995 12:42 PM
How can i, by using MCI comands specify the place in a screen where a *.flc should play. The 'put ..destination..' only points to the place within the Player-Window. The 'put ..window..' only works on *.avi. Horst
#184927From: Brian Rudolph [Adesk]Aug 14, 1995 1:22 PM
The standard MCI Window control commands won't work on the Animation Window. This is becuase the player window is really two windows. First there is the child window, the one you create from your application. Then there is a second borderless windows that is carefully laid on top of the child, only its not a child window, its a parent window of the AAPLAY.DLL. This is why it can't be controlled because it really isn't owned by the application that is using the DLL. ———————————————————— There are ways to get the window handle for the animation window, which would allow you to control that window by making calls to the .DLL, instead of through the MCI device. If you are using the DLL directly, there is a setting, AA_ANIMWND, that will return the handle to the animation window. You can get it using: (HWND)aaGetParm(hAnim, AA_ANIMWND); In VB, I think there is a read-only property, that returns the animation handle, and you can use that to the the window handle. There might even be a read-only property to return the animation window handle. Check the VBPLAY.VBX help file. -Brian