• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

Centering AVI's launched with MMControl

How do I manipulate the position of the window that AVI's played using the MMControl appear in? I can't seem to find any way of doing this....
0
Pkelley
Asked:
Pkelley
1 Solution
 
fc_hnatCommented:
You can put the avi into a picture box using the code below.
If the picture box is on a form the form can be moved any where using the move method for the form.

MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.hWndDisplay = Picture1.hWnd
MMControl1.DeviceType = "AVIVideo"
MMControl1.filename = "path of avi file"
MMControl1.Command = "Open"

!fc_hnat
0
 
PkelleyAuthor Commented:
Thanks! I have the time now to make a presentation I'm doing at work a bit more professional now!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now