fwehlin
April 28th, 1999, 04:55 PM
Hi!
I´m trying to use the Mci Control to play a mpeg-videofile. I have created a
dialog that contains the MCI Control. The problem I have is that I can´t
figure out how to make it play the file?
I made a member variable of the MFC Wrapped class. I´ve tried this;
m_Mci.SetDeviceType("DigitalVideo");
m_Mci.SetFileName(PathName); // where pathname is the pathname to the file.
Now What? I suppose I need to add the event OnButtonPlayClicked();
But what do I call there to make it work?
Please give me a hint, I´m stuck.
/Frederik
I´m trying to use the Mci Control to play a mpeg-videofile. I have created a
dialog that contains the MCI Control. The problem I have is that I can´t
figure out how to make it play the file?
I made a member variable of the MFC Wrapped class. I´ve tried this;
m_Mci.SetDeviceType("DigitalVideo");
m_Mci.SetFileName(PathName); // where pathname is the pathname to the file.
Now What? I suppose I need to add the event OnButtonPlayClicked();
But what do I call there to make it work?
Please give me a hint, I´m stuck.
/Frederik