資源簡(jiǎn)介
用MFC做的實(shí)用型MP3播放器,具有一次性添加多首音樂(lè),播放,暫停,停止,上一首,下一首,進(jìn)度條,播放時(shí)間,播放列表框,歌曲循環(huán),鼠標(biāo)點(diǎn)擊相應(yīng)歌曲亦可播放,刪除選中歌曲,幫助,還能通過(guò)伸縮窗口隱藏歌曲列表框哦,基本功能都有,可以正常運(yùn)行

代碼片段和文件信息
//?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????118845??2013-03-12?17:20??Pla
?????文件?????352896??2013-03-12?17:20??Pla
?????文件??????15877??2013-03-12?16:26??Pla
?????文件????5569880??2013-03-12?15:14??Pla
?????文件?????418816??2013-03-12?17:20??Pla
?????文件???????3088??2013-03-12?16:43??Pla
?????文件??????67997??2013-03-12?17:20??Pla
?????文件?????105442??2013-03-12?15:14??Pla
?????文件?????230400??2013-03-12?23:53??Pla
?????文件?????397312??2013-03-12?17:20??Pla
?????文件??????21524??2013-03-12?17:17??Pla
?????文件???????1631??2013-03-12?23:53??Pla
?????文件???????2063??2013-03-07?14:49??Pla
?????文件???????4229??2013-03-12?15:16??Pla
?????文件????????518??2013-03-07?15:23??Pla
?????文件???????1324??2013-03-07?14:49??Pla
?????文件?????148480??2013-03-12?23:54??Pla
?????文件??????50688??2013-03-12?23:54??Pla
?????文件????????246??2013-03-12?23:52??Pla
?????文件???????6198??2013-03-12?16:43??Pla
?????文件??????14208??2013-03-12?17:20??Pla
?????文件???????2126??2013-03-12?16:26??Pla
?????文件???????3579??2013-03-07?14:49??Pla
?????文件???????1078??2013-03-07?14:49??Pla
?????文件????????398??2013-03-07?14:49??Pla
?????文件???????1374??2013-03-12?14:16??Pla
?????文件????????208??2013-03-07?14:49??Pla
?????文件???????1054??2013-03-07?14:49??Pla
?????目錄??????????0??2013-03-14?22:55??Pla
?????目錄??????????0??2013-03-14?22:55??Pla
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論