資源簡介
簡單的關于AVI格式視頻播放器程序的源代碼

代碼片段和文件信息
//?AviPlay.cpp?:?Defines?the?class?behaviors?for?the?application.
//?Download?by?http://www.NewXing.com
#include?“stdafx.h“
#include?“AviPlay.h“
#include?“AviPlayDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAviPlayApp
BEGIN_MESSAGE_MAP(CAviPlayApp?CWinApp)
//{{AFX_MSG_MAP(CAviPlayApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAviPlayApp?construction
CAviPlayApp::CAviPlayApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAviPlayApp?object
CAviPlayApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAviPlayApp?initialization
BOOL?CAviPlayApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CAviPlayDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......??????4139??1997-12-11?21:13??www.NewXing.com\AviPlay.001
????.......?????20924??1999-03-21?08:46??www.NewXing.com\AviPlay.aps
????.......????477318??2001-10-22?17:28??www.NewXing.com\效果圖\71.bmp
????.......??????1214??1999-03-21?08:47??www.NewXing.com\AviPlay.clw
?????文件???????2112??2011-01-13?12:29??www.NewXing.com\AviPlay.cpp
?????文件???????6093??2011-01-13?12:29??www.NewXing.com\AviPlayDlg.cpp
????.......???????209??1999-02-26?01:11??www.NewXing.com\StdAfx.cpp
????.......??????4174??1999-03-03?02:00??www.NewXing.com\AviPlay.dsp
????.......???????537??1999-02-26?01:11??www.NewXing.com\AviPlay.dsw
????.......??????1335??1999-02-26?01:11??www.NewXing.com\AviPlay.h
????.......??????1552??1999-03-03?01:18??www.NewXing.com\AviPlayDlg.h
????.......???????913??1999-03-03?01:25??www.NewXing.com\resource.h
????.......??????1054??1999-02-26?01:11??www.NewXing.com\StdAfx.h
????.......??????1078??1999-02-26?01:11??www.NewXing.com\res\AviPlay.ico
????.......??????5505??1999-03-03?01:25??www.NewXing.com\AviPlay.rc
????.......???????399??1999-02-26?01:11??www.NewXing.com\res\AviPlay.rc2
????.......??????3597??1999-02-26?01:11??www.NewXing.com\ReadMe.txt
????...D..R?????????0??2011-01-03?12:25??www.NewXing.com\res
????...D..R?????????0??2011-01-03?12:25??www.NewXing.com\效果圖
-----------?---------??----------?-----??----
???????????????532153????????????????????19
- 上一篇:產生式系統 用C語言編的
- 下一篇:c++模擬進程 解決c++中的難題
評論
共有 條評論