Hi!
I have troubles with the CAniButton – buttom with AVI clip animation.
My%2
Printable View
Hi!
I have troubles with the CAniButton – buttom with AVI clip animation.
My%2
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.