(十)编写能够播放视频文件的应用程序

来源:百度知道 编辑:UC知道 时间:2024/05/05 13:03:49
(十)编写能够播放视频文件的应用程序
要求:(1)运行时,首先出现空窗口,单击左键可建立并显示要播放视频文件的第一帧;在此空窗口任何地方单击左键,开始播放视频文件。
(2)再次单击左键暂停并重新开始。
(3)任何时间,用户都可将进度条拖到任意位置。
(4)在窗口任意地方单击,可关闭该应用程序。

我也在找这动西!

// MyScreen.cpp : implementation file
//

#include "stdafx.h"
#include "DvsClient.h"
#include "MyScreen.h"
#include "DvsClientDlg.h"
#include "Convert.h"
#include "SparrowBuffer.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyScreen dialog

CMyScreen::CMyScreen(CWnd* pParent /*=NULL*/)
: CDialog(CMyScreen::IDD, pParent)
{
//{{AFX_DATA_INIT(CMyScreen)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}

void CMyScreen::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMyScreen)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA