Re: ActiveX - MS Animation
Hi there,
Try this:
-in the resource editor, click on animate control and place in your dialog.
-Use ctrl+double click on the control you placed in the dialog editor- to create a variable name - eg m_avi.
-In your resource view window,right click on your project name.select import.Choose the avi you want to import.
-enter "AVI" for resource type in the resource type dialog box.
-in your code add:
BOOL CYourAppDlg::OnInitDialog()
{
....
....
m_avi.Open(IDR_AVI);//where IDR_AVI is the "name" of your avi in the resourcewindow
m_avi.Play(0,-1,-1);
that should do it.