CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Andrew Truckle Guest

    [RESOLVED] Modifying Filecopy.avi

    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?


  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Modifying Filecopy.avi

    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


  3. #3
    Andrew Truckle Guest

    Re: Modifying Filecopy.avi

    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?


  4. #4
    Andrew Truckle Guest

    Re: Modifying Filecopy.avi

    Hi again

    I just added a CAnimateCtrl set to autoplay and added:

    mycontrol.Open(filename)

    and all works!

    mhy won't tegosofts do that?


  5. #5
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Modifying Filecopy.avi

    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



  6. #6
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Modifying Filecopy.avi

    Maybe they forgot or lost??!!##

    :0 :-)

    Walter


  7. #7
    Andrew Truckle Guest

    Re: Modifying Filecopy.avi

    Perhaps!

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




  8. #8
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Modifying Filecopy.avi

    I did one of them!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured