News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Playing AVI

Started by kemicza, April 24, 2005, 01:29:02 PM

Previous topic - Next topic

kemicza

Hey, my first post  :cheekygreen:

I want to play an AVI clip but that it doesn't repeat. I can just make it work with repeating.

Invoke SendDlgItemMessage,hWin,IDC_ANI1,ACM_PLAY,1,IDR_AVI

What am I doing wrong?

Thanks

pbrennick

kemicza,

Try the following:

    invoke  Animate_Play, hWin, 0, -1, 0

Where:
    hWin - Handle to the animation control in which to play the AVI clip
         0 - start from the beginning
        -1 - play to the end
         0 - do not replay


Paul

pbrennick

kemicza,
I also found these:


;       Play a file
        invoke SendDlgItemMessage,hWin,IDC_ANI1,ACM_OPEN,0,offset szAvi


or


;       Play a resource
        invoke SendDlgItemMessage,hWin,IDC_ANI1,ACM_OPEN,0,IDR_AVI


Paul

kemicza

Sorry for replying so late, the post got moved and my friend told me how to find it, etc..
Well thanks for the reply man ;)  :U (btw this is my SECOND post  :cheekygreen:)

Farabi

Hai, how to play AVI movie on another screen? Just as simple as use bitblt function? what function and from what .dll I must use?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"