資源簡介
可以播放.avi格式的文件還有控件的使用

代碼片段和文件信息
//?player.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“player.h“
#include?“playerDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp
BEGIN_MESSAGE_MAP(CPlayerApp?CWinApp)
//{{AFX_MSG_MAP(CPlayerApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp?construction
CPlayerApp::CPlayerApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CPlayerApp?object
CPlayerApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp?initialization
BOOL?CPlayerApp::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
CPlayerDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????21152??2005-06-21?07:10??AVIpla
?????文件???????1231??2005-06-21?07:13??AVIpla
?????文件???????2063??2004-05-25?20:55??AVIpla
?????文件???????4159??2004-05-25?20:55??AVIpla
?????文件????????535??2004-05-25?20:55??AVIpla
?????文件???????1324??2004-05-25?20:55??AVIpla
?????文件??????82944??2005-06-21?07:13??AVIpla
?????文件??????70656??2005-06-21?07:13??AVIpla
?????文件???????1689??2005-06-21?07:12??AVIpla
?????文件???????5649??2005-05-13?07:34??AVIpla
?????文件???????5058??2005-05-22?23:25??AVIpla
?????文件???????1438??2004-05-25?21:14??AVIpla
?????文件???????3579??2004-05-25?20:55??AVIpla
?????文件??????20480??2005-06-21?07:12??AVIpla
?????文件???????1078??2004-05-25?20:55??AVIpla
?????文件????????398??2004-05-25?20:55??AVIpla
?????文件????????822??2004-05-25?21:07??AVIpla
?????文件????????208??2004-05-25?20:55??AVIpla
?????文件???????1054??2004-05-25?20:55??AVIpla
?????目錄??????????0??2009-12-14?09:48??AVIpla
?????目錄??????????0??2009-12-14?09:48??AVIpla
?????目錄??????????0??2009-12-14?09:48??AVIpla
-----------?---------??----------?-----??----
???????????????225517????????????????????22
評論
共有 條評論