|
-
April 15th, 1999, 08:51 AM
#1
Using .AVI ...
I need to implement a dialog with a CAnimateCtl (using *.avi).
Where am I find informations about how to create an apropriate avi file
and play it from a CDialog.
-
April 15th, 1999, 08:33 PM
#2
Re: Using .AVI ...
I'd suggest first that you use one of the AVIs included with the VC++ GENERAL\CMNCTRLS samples so you dont' have to worry about creating an AVI that will work. These do.
Its real easy when you know the AVI works:
Add an animate control to your dialog then add a CAnimateCtrl m_animate; and do these calls:
m_animate.Open("myavi.avi");
m_animate.Play(0,-1,1);
m_animate.Close();
MANY AVIs won't work because they are too complex for MFC's rudimentary play-back routines. Basically an AVI is a series of BMPs chained together with some timing information.
Take a look at www.winsite.com for a product called AVI Constructor or go straight to the company at: www.henge.com/~caracena
I've used this tool to build some simple AVIs...
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
|