資源簡介
c++音樂播放器,能實現音樂播放,上一曲下一曲,循環播放,隨機播放。

代碼片段和文件信息
//?MFC視頻播放器.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MFC視頻播放器.h“
#include?“MFC視頻播放器Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMFCApp
BEGIN_MESSAGE_MAP(CMFCApp?CWinApp)
//{{AFX_MSG_MAP(CMFCApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMFCApp?construction
CMFCApp::CMFCApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMFCApp?object
CMFCApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMFCApp?initialization
BOOL?CMFCApp::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
CMFCDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????38400??2013-12-15?20:47??Pla
?????文件??????27136??2013-12-17?20:25??Pla
?????文件?????338944??2013-12-18?14:28??Pla
?????文件????2160592??2013-12-17?22:16??Pla
?????文件?????204895??2013-12-17?22:04??Pla
?????文件?????308592??2013-12-17?22:04??Pla
?????文件??????14602??2013-12-17?21:44??Pla
?????文件????5502316??2013-12-17?21:44??Pla
?????文件?????517120??2013-12-17?22:04??Pla
?????文件??????22704??2013-12-17?22:04??Pla
?????文件??????48356??2013-12-17?21:44??Pla
?????文件?????105779??2013-12-17?21:44??Pla
?????文件?????238592??2013-12-17?22:05??Pla
?????文件?????372736??2013-12-17?21:44??Pla
?????文件???????6390??2013-12-17?21:44??Pla
?????文件???????5520??2013-12-17?21:44??Pla
?????文件??????13216??2013-12-17?21:44??Pla
?????文件??????15032??2013-12-17?21:44??Pla
?????文件???????7267??2013-12-17?21:44??Pla
?????文件???????5733??2013-12-17?21:44??Pla
?????文件???????8163??2013-12-17?21:44??Pla
?????文件??????23652??2013-12-17?21:44??Pla
?????文件??????14805??2013-12-17?21:44??Pla
?????文件??????25523??2013-12-17?21:44??Pla
?????文件??????54057??2013-12-17?21:44??Pla
?????文件???????4766??2013-12-17?21:44??Pla
?????文件??????17045??2013-12-17?21:44??Pla
?????文件???????4525??2013-12-17?21:44??Pla
?????文件???????9736??2013-12-17?21:44??Pla
?????文件??????20506??2013-12-17?21:44??Pla
............此處省略66個文件信息
- 上一篇:MFC簡單郵件收發系統
- 下一篇:C++全英文授課課件
評論
共有 條評論