超简易音乐播放器

时间:2015-05-15 13:51:35
【文件属性】:

文件名称:超简易音乐播放器

文件大小:1.99MB

文件格式:RAR

更新时间:2015-05-15 13:51:35

简易,音乐播放器,VC6.0

void CPPlayerDlg::OnButton1() { // TODO: Add your control notification handler code here char szFileFilter[]= "Mp3 File(*.mp3)|*.mp3|" "Wma File(*.wma)|*.wma|" "Video File(*.dat)|*.dat|" "Wave File(*.wav)|*.wav|" "AVI File(*.avi)|*.avi|" "Movie File(*.mov)|*.mov|" "Media File(*.mmm)|*.mmm|" "Mid File(*.mid;*,rmi)|*.mid;*.rmi|" "MPEG File(*.mpeg)|*.mpeg|" "All File(*.*)|*.*||"; CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,szFileFilter); if(dlg.DoModal()==IDOK){ CString PathName=dlg.GetPathName(); PathName.MakeUpper(); m_bfq.SetUrl(PathName); m_show=PathName; m_msg="播放"; UpdateData(FALSE); } } void CPPlayerDlg::OnButton3() { // TODO: Add your control notification handler code here m_bfq.GetControls().play(); m_msg="播放"; UpdateData(FALSE); } void CPPlayerDlg::OnButton4() { // TODO: Add your control notification handler code here m_bfq.GetControls().pause(); m_msg="暂停"; UpdateData(FALSE); } void CPPlayerDlg::OnButton5() { // TODO: Add your control notification handler code here m_bfq.GetControls().stop(); m_msg="停止"; UpdateData(FALSE); } void CPPlayerDlg::OnButton2() { // TODO: Add your control notification handler code here AfxGetMainWnd()->SendMessage(WM_CLOSE); }


【文件预览】:
PPlayer
----ReadMe.txt(4KB)
----StdAfx.h(1KB)
----PPlayerDlg.cpp(6KB)
----PPlayer.h(1KB)
----PPlayer.dsw(583B)
----wmpplaylist.h(2KB)
----res()
--------icon2.ico(766B)
--------PLAYER.rc2(398B)
--------icon3.ico(766B)
--------PLAYER.ico(1KB)
--------PPlayer.rc2(399B)
--------icon1.ico(766B)
--------PPlayer.ico(1KB)
--------Thumbs.db(9KB)
----wmpsettings.h(2KB)
----wmpplaylistcollection.cpp(2KB)
----wmpplayer4.cpp(8KB)
----PPlayer.rc(7KB)
----wmpstringcollection.h(1KB)
----wmpsettings.cpp(4KB)
----wmpmedia.cpp(4KB)
----wmperroritem.cpp(1KB)
----wmpdvd.h(1KB)
----wmpclosedcaption.h(1KB)
----PPlayer.aps(39KB)
----wmpplaylistarray.h(1KB)
----PPlayer.exe(144KB)
----wmpnetwork.cpp(5KB)
----wmpplaylistcollection.h(2KB)
----wmpclosedcaption.cpp(2KB)
----wmpplayerapplication.cpp(1KB)
----Debug()
--------wmpcdromcollection.obj(5KB)
--------wmpnetwork.obj(25KB)
--------vc60.pdb(372KB)
--------wmpclosedcaption.obj(13KB)
--------PPlayerDlg.obj(41KB)
--------wmpstringcollection.obj(5KB)
--------wmpplayerapplication.obj(5KB)
--------wmpplaylistarray.obj(4KB)
--------wmpmediacollection.obj(14KB)
--------PPlayer.exe(144KB)
--------wmpdvd.obj(7KB)
--------vc60.idb(257KB)
--------wmpmedia.obj(23KB)
--------wmperror.obj(6KB)
--------wmpcdrom.obj(6KB)
--------PPlayer.pdb(537KB)
--------wmpplaylist.obj(17KB)
--------wmpsettings.obj(20KB)
--------wmperroritem.obj(8KB)
--------StdAfx.obj(103KB)
--------PPlayer.res(6KB)
--------wmpplayer4.obj(52KB)
--------PPlayer.pch(5.25MB)
--------wmpcontrols.obj(15KB)
--------PPlayer.obj(15KB)
--------PPlayer.ilk(277KB)
--------wmpplaylistcollection.obj(9KB)
----wmpplayer4.h(3KB)
----PPlayer.plg(248B)
----PPlayer.ncb(137KB)
----wmpcdrom.h(1KB)
----wmpcdromcollection.h(1KB)
----wmpplaylist.cpp(3KB)
----resource.h(1KB)
----PPlayer.clw(1KB)
----wmpcontrols.h(2KB)
----wmpplayerapplication.h(1KB)
----PPlayer.dsp(10KB)
----PPlayer.cpp(2KB)
----wmpmedia.h(2KB)
----wmpnetwork.h(2KB)
----wmperror.h(1KB)
----wmpmediacollection.cpp(4KB)
----wmperror.cpp(1KB)
----PPlayer.opt(50KB)
----wmpdvd.cpp(1KB)
----wmpcdromcollection.cpp(1KB)
----StdAfx.cpp(209B)
----wmpplaylistarray.cpp(994B)
----wmpmediacollection.h(2KB)
----wmpcontrols.cpp(3KB)
----wmperroritem.h(1KB)
----wmpcdrom.cpp(1017B)
----PPlayerDlg.h(2KB)
----wmpstringcollection.cpp(893B)

网友评论

  • 还不错,就是可读性不高

相关文章