Click to See Complete Forum and Search --> : [RESOLVED] Modifying Filecopy.avi


Andrew Truckle
April 6th, 1999, 05:45 AM
The sample avi file - filecopy.avi which comes with devstudio doesn't have the usual gray background. How can I change it, or can someone email me a revised avi file?

Walter I An
April 6th, 1999, 06:28 AM
I think ur botherd by the background color of
filecopy.avi and u want to use it
in your dialog or somewhere. But I believe
that if you are using CAnimateCtrl,
the color of background shouldn't give
you problem bcuz it's transparent.

I hope I helped.

Good luck. :)

Walter An

Andrew Truckle
April 6th, 1999, 06:42 AM
Hi,

I have been using TegoSoft Mult-Media activex control to display the avi file. It is placed in a picture control. I've just tried setting the picture control properties to transparent but I still get the different background.

Any ideas? Or how easy is it to use CAnimateCtrl instead?

Andrew Truckle
April 6th, 1999, 06:59 AM
Hi again

I just added a CAnimateCtrl set to autoplay and added:

mycontrol.Open(filename)

and all works!

mhy won't tegosofts do that?

Walter I An
April 6th, 1999, 07:05 AM
If u are putting this avi into a dialog,
then CAnimateCtrl is right on ctrl palette
in resource dialog editor. Select it
and draw on your dialog and set transparent
and auto play property. And don't forget
to import ur avi as a resource.
In OninitDialog(),
use m_Animate.Open(your avi resource no#)
and m_Animate.Play()!!??

And I think that will do it!

Good luck. :-0

Walter An

Walter I An
April 6th, 1999, 07:14 AM
Maybe they forgot or lost??!!##

:0 :-) :)

Walter

Andrew Truckle
April 6th, 1999, 07:33 AM
Perhaps!

Thanks for your help anyway. I don't suppose you can offer assistance with my other two outstanding questions?!!

:)

Walter I An
April 6th, 1999, 07:40 AM
I did one of them!