资源简介
wav格式音频文件播放,并显示波形同时可以选择播放

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “StdAfx.h“
#include “WProc.h“
#include “MainFrm.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainframe
IMPLEMENT_DYNCREATE(CMainframe CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static UINT indicators[] =
{
ID_SEPARATOR // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction
CMainframe::CMainframe()
{
// TODO: add member initialization code here
}
CMainframe::~CMainframe()
{
}
int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndToolBar.CreateEx(this TBstyle_FLAT WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1; // fail to create
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1; // fail to create
}
// TODO: Delete these three lines if you don‘t want the toolbar to
// be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
}
BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics
#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}
void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2365 2006-07-09 09:52 音频编辑\MainFrm.cpp
文件 1384 2004-04-22 09:06 音频编辑\MainFrm.h
..A.SH. 6144 2006-05-08 09:10 音频编辑\res\Thumbs.db
文件 2518 2004-04-22 09:05 音频编辑\res\Toolbar.bmp
文件 3638 2004-04-22 09:05 音频编辑\res\WProc.ico
文件 1078 2004-04-22 09:05 音频编辑\res\WProcDoc.ico
文件 3385 2004-04-22 09:06 音频编辑\resource.h
文件 2684 2004-04-22 09:06 音频编辑\SetFilesDlg.cpp
文件 1380 2004-04-22 09:06 音频编辑\SetFilesDlg.h
文件 207 2004-04-22 09:06 音频编辑\StdAfx.cpp
文件 1027 2004-04-22 09:06 音频编辑\StdAfx.h
文件 2109 2004-04-22 09:05 音频编辑\wave\Define.h
文件 14241 2012-10-11 21:34 音频编辑\wave\WaveFile.cpp
文件 2018 2004-04-22 09:05 音频编辑\wave\WaveFile.h
文件 4824 2004-04-22 09:06 音频编辑\wave\WavePlay.cpp
文件 733 2004-04-22 09:06 音频编辑\wave\WavePlay.h
文件 32602 2012-10-11 21:35 音频编辑\wave\WaveView.cpp
文件 5353 2012-10-11 21:35 音频编辑\wave\WaveView.h
文件 33296 2006-05-08 09:08 音频编辑\WProc.aps
文件 3644 2006-05-08 09:10 音频编辑\WProc.clw
文件 4207 2004-04-22 09:06 音频编辑\WProc.cpp
文件 5322 2004-04-22 09:06 音频编辑\WProc.dsp
文件 535 2004-04-22 09:06 音频编辑\WProc.dsw
文件 172108 2006-07-09 09:52 音频编辑\WProc.exe
文件 1296 2004-04-22 09:06 音频编辑\WProc.h
文件 10464256 2012-10-11 21:37 音频编辑\WProc.ncb
文件 69632 2006-09-21 14:30 音频编辑\WProc.opt
文件 1149 2006-09-21 14:30 音频编辑\WProc.plg
文件 12313 2004-04-22 09:06 音频编辑\WProc.rc
文件 874 2012-10-11 21:32 音频编辑\WProc.sln
............此处省略13个文件信息
- 上一篇:牌路分析软件(花色版)
- 下一篇:斯坦福点云数据
相关资源
- DAC0832波形发生器幅值及频率都精确可
- Windows异步套接字网络编程
- VC 获得文件属性 获取文件的创建时
- 基于MVC模式的会员管理系统
- proteus仿真 AT89C51输出各种波形
- silicon lab公司的收音IC SI47XX全套开发工
- 读者写者问题(读者优先,写者优先
- MFC程序-碰撞的小球
- vc 柱形图 CBarChart
- 用vc 写的导线测量,针对刚学测绘的
- 用VC 编写的仿QQ聊天室程序源代码
- 栅栏填充算法源码(VC)
- 简单的房屋租赁系统
- .net网站服装销售系统(MVC)
-
ob
jectARX给Auto CAD加工具条 - blowfish的vc2008工程.rar
- 画图程序MFC/VC/VC CRectTracker 串行化
- capon波束形成算法-VC实现
- 读取串口数据并画实时曲线的VC 程序
- VC 游戏编程—附源代码
- IpHlpApi.h&IpHlpApi.lib
- vc 6.0开发的流程图编辑器
- VC 天空盒(skyBox)实现(附源代码)
- c MFC 画多边形
- keil vcom windows 7 64bit 驱动
- vc URL编解码类
- vc编写中国象棋详细源码注释并附有视
- VC 围棋源代码
- 用VC 编写的基于SNMP的路由器拓扑程序
- vc利用MFC底层开发的二维GIS管理软件,
评论
共有 条评论