資源簡介
多媒體播放器,用vc++ 編寫的多媒體播放器 主要是基于windows media player控件上實現(xiàn)的多媒體播放器。

代碼片段和文件信息
//?mediaplayer.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“mediaplayer.h“
#include?“mediaplayerDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMediaplayerApp
BEGIN_MESSAGE_MAP(CMediaplayerApp?CWinApp)
//{{AFX_MSG_MAP(CMediaplayerApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMediaplayerApp?construction
CMediaplayerApp::CMediaplayerApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMediaplayerApp?object
CMediaplayerApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMediaplayerApp?initialization
BOOL?CMediaplayerApp::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
CMediaplayerDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-11-17?19:50??mediapla
?????目錄???????????0??2011-11-17?19:50??mediapla
?????文件??????143455??2011-11-17?19:50??mediapla
?????文件??????300320??2011-11-17?19:50??mediapla
?????文件???????14495??2011-11-13?16:52??mediapla
?????文件?????5495064??2011-11-13?16:00??mediapla
?????文件??????533504??2011-11-17?19:50??mediapla
?????文件????????3096??2011-11-17?19:46??mediapla
?????文件???????36296??2011-11-17?19:50??mediapla
?????文件??????105659??2011-11-13?16:00??mediapla
?????文件??????263168??2011-11-17?19:50??mediapla
?????文件??????380928??2011-11-17?19:50??mediapla
?????文件????????6229??2011-11-13?16:07??mediapla
?????文件????????5305??2011-11-13?16:07??mediapla
?????文件???????13037??2011-11-13?16:07??mediapla
?????文件???????14853??2011-11-13?16:07??mediapla
?????文件????????7088??2011-11-13?16:07??mediapla
?????文件????????5572??2011-11-13?16:07??mediapla
?????文件????????8002??2011-11-13?16:07??mediapla
?????文件???????23491??2011-11-13?16:07??mediapla
?????文件???????14536??2011-11-13?16:07??mediapla
?????文件???????25362??2011-11-13?16:07??mediapla
?????文件???????53752??2011-11-13?16:07??mediapla
?????文件????????4587??2011-11-13?16:07??mediapla
?????文件???????16866??2011-11-13?16:07??mediapla
?????文件????????4346??2011-11-13?16:07??mediapla
?????文件????????9503??2011-11-13?16:07??mediapla
?????文件???????20345??2011-11-13?16:07??mediapla
?????文件????????4958??2011-11-13?16:07??mediapla
?????文件???????38684??2011-11-17?19:46??mediapla
?????文件????????1359??2011-11-17?19:47??mediapla
............此處省略50個文件信息
評論
共有 條評論