Announcement

Collapse
No announcement yet.

AVI animation control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AVI animation control

    Has anyone done anything with the animation control to play AVI files in a dialog?

    Any sample code?

    --Dave


    ------------------
    Home of the BASIC Gurus
    www.basicguru.com
    Home of the BASIC Gurus
    www.basicguru.com

    #2
    dave --
    if you are interesting in mci (with sound) -- http://www.powerbasic.com/support/pb...ad.php?t=22720

    if you are about common controls - search by sysanimate32

    for example, see chris's subs in http://www.powerbasic.com/support/pb...ad.php?t=20216

    [this message has been edited by semen matusovski (edited november 28, 2000).]

    Comment


      #3
      Dave;

      The animation control is not intended for Videos with sound.
      It can't play sound and the control must use a 'silent" AVI.

      If you need real animation/video capabilities, then create a
      generic window and use MCI to play a Video in it.



      ------------------
      Chris Boss
      Computer Workshop
      Developer of "EZGUI"
      http://cwsof.com
      http://twitter.com/EZGUIProGuy

      Comment


        #4
        I need to play silent AVI's (like the one displayed by Microsoft when you COPY files and folders) in a dialog.

        --Dave


        ------------------
        Home of the BASIC Gurus
        www.basicguru.com
        Home of the BASIC Gurus
        www.basicguru.com

        Comment


          #5
          Dave,

          you can use MS's multimedia OCX with JA COM/PB 2.0

          Philippe Monteil
          www.jazzagesoft.com


          ------------------

          Comment


            #6
            This is what I have been using...
            Is this what you are asking for?

            Code:
              Dialog New ghForm, "Copy files", 0, 0,200,40, Style&, ExStyle& To hDlg&
              AniStyle& = %WS_CHILD Or %WS_VISIBLE Or %ACS_AUTOPLAY Or %ACS_TRANSPARENT Or %ACS_CENTER
              AniStyleEx& = 0 '%WS_EX_CLIENTEDGE
              Control Add "SysAnimate32", hDlg&, 1000,"",0,0,200,40,AniStyle&,AniStyleEx&
              Dialog Show Modeless hDlg&
              Control Handle hDlg&,1000 To hAni&
              Call Animate_Open(hAni&,"FILECOPY.AVI")
              ....
              ....
              Call Animate_Close(hAni&)
              Dialog End hDlg&
            ------------------
            Fred
            mailto:[email protected][email protected]</A>
            http://www.oxenby.se



            [This message has been edited by Fred Oxenby (edited November 30, 2000).]
            Fred
            mailto:[email protected][email protected]</A>
            http://www.oxenby.se

            Comment


              #7
              >> you can use MS's multimedia OCX with JA COM/PB 2.0 <<

              Thanks Philippe, but I like to avoid third-party controls unless absolutely necessary.

              >> This is what I have been using... Is this what you are asking for? <<

              Fred, thanks a bunch. It's precisely what I was looking for.

              --Dave


              ------------------
              Home of the BASIC Gurus
              www.basicguru.com
              Home of the BASIC Gurus
              www.basicguru.com

              Comment


                #8
                Dave,
                I haven't done it in PB/DLL but I have a VB5 example of the COPY FILES display.
                Regards,
                Barney

                ------------------

                Comment


                  #9
                  Dave,

                  Pete's AVI collection for Programmers http://pjs-inc.com/vb-avi/

                  Paul
                  Zippety Software, Home of the Lynx Project Explorer
                  http://www.zippety.net
                  My e-mail

                  Comment

                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎