CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    8

    How to change AVI clip of the CAniButton?

    Hi!

    I have troubles with the CAniButton – buttom with AVI clip animation.
    My%2

  2. #2
    Join Date
    Apr 1999
    Posts
    8

    Re: How to change AVI clip of the CAniButton? - Sorry for the broken text


    Hi!

    I have troubles with the CAniButton – buttom with AVI clip animation.
    My prjgram has few such buttons and I need to change its AVI clips from time to time. I have some sense, that I do it not very correctly:

    CAnimateCtrl m_AnimateCtrl;

    The AVI changing procedure:

    m_AnimateCtrl.Stop();
    m_AnimateCtrl.Close();
    m_AnimateCtrl.Open(New_AVI_resource_ID);
    if (::IsWindow(m_AnimateCtrl))
    {
    m_AnimateCtrl.Play(0,-1,nRep);
    }

    What’s wrong?
    Could anybody help?

    Great thanks.
    Vlad.



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