|
-
Oct 15th, 2002, 05:23 AM
#1
Thread Starter
New Member
Playing AVI - Accessing MCI Display Window
Hi folks,
i got a problem with playing AVI media files or better, i´m in trouble accessing the display window where the media file is shown in.
A brief description of how it works, i simply add various MCI´s to a form, each will play a different AVI (i know that´s not a good design in general), you click on the play button of the MC interface and the AVI is played in a new window.
I want a reference to that window for resizing issues and i don´t know how to get it....
I´d really appreciate any suggestions you might have.
NeoWest
"Mankind excels above all other species on the planet and it especially excels at destruction" KevlarWest, The Pessimist´s Workbook
-
Oct 15th, 2002, 08:31 AM
#2
For the record Neo, what do you mean by MCI's please?
There is a control Ms wrote called the Animation Control which might make things easier for you. If you select the "Microsoft Windows Common Controls-2 x.0" Library from your vb projects>references menu you should be able to work with it...
-
Oct 15th, 2002, 11:31 AM
#3
Thread Starter
New Member
Hi,
it´s called Multimedia Control Interface - if you add it standard variable Name is MMControl(1-n).
I can tell you more tomorrow, because it´s not my program to be honest and i have to talk to the developer (he isn´t great at english) again.
Thx for the answer so far...
Neo
"Mankind excels above all other species on the planet and it especially excels at destruction" KevlarWest, The Pessimist´s Workbook
-
Oct 17th, 2002, 01:06 AM
#4
Thread Starter
New Member
Okay i got more details now.
The control element used is a Microsoft Multimedia Control (MMC) 6.0.
As said above it is used to start the playback of various .avi files and you can use the hwndDisplay property to get the index value of the window where the .avi playback is shown, but how do i access the window´s properties. Isn´t there a methode that will return the window object itself or a reference to it, so i could access it´s properties and methods?
....any ideas? Anyone?
"Mankind excels above all other species on the planet and it especially excels at destruction" KevlarWest, The Pessimist´s Workbook
-
Oct 17th, 2002, 01:52 AM
#5
Thread Starter
New Member
Hi,
i (better me friend) tried the Animation control displaying the avi in a PictureBox.... it´s stuck to it´s size unless i access the properties... i need more of a auto-size behaviour. (Auto-size property does NOT work)
Well i´m more a java coder, i just try to translate this for my pal:
What we wanna do is:
-Play various avi files,
-the display area should be adjustable
-read the avi´s properties like height and width or standard resolution
-if an extra window is used for display - we need access to it´s properties for resizing issues
I don´t like pure code answers - it would be really great, if you have a roadmap how to solve the criteria above.
Neo
"Mankind excels above all other species on the planet and it especially excels at destruction" KevlarWest, The Pessimist´s Workbook
-
Oct 17th, 2002, 03:17 AM
#6
Can you upload the code you have at the moment please?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|