Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MMControl MCI How to move the AVI playing screen?

Status
Not open for further replies.

tedsmith

Programmer
Nov 23, 2000
1,762
0
0
AU
Hi
How do I resize and move the playing screen on a MCI control playing AVI movies?
The top and left only move the buttons.
Ted
 
Hi
An easy way to do this is to use the hWndDisplay property of the control. set this to a hWnd of a form in you app bofore playing the movie.

MMControl1.hWndDisplay = form2.hWnd

Now the movie will be displayed in form2. now you should be able to resize the form

HTH
Chamindu
 
Thanks I can now put the movie in a form or control but how do I make the movie stretch to fit the frame?
It seems to stay the same size when I resize the form, it just shows a border around the picture, the movie staying the same.
If I put it on a pic box, the graphic stretches but not the movie.
Also is there any way of superimposing text titles over the movie?
Ted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top