WaveEditorView.h
资源名称:WaveEdit.zip [点击查看]
上传用户:dthg120
上传日期:2007-01-01
资源大小:50k
文件大小:2k
源码类别:
多媒体编程
开发平台:
Visual C++
- #if !defined(AFX_WAVEEDITORVIEW_H__A4FBB676_3B39_11D2_B4AD_EC9CB4CA7260__INCLUDED_)
- #define AFX_WAVEEDITORVIEW_H__A4FBB676_3B39_11D2_B4AD_EC9CB4CA7260__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // WaveEditorView.h : header file
- //
- #include "WaveEditCtrl.h"
- /////////////////////////////////////////////////////////////////////////////
- // CWaveEditorView form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class CWaveEditorView : public CFormView
- {
- protected:
- CWaveEditCtrl m_WaveEditCtrl;
- CWaveEditorView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CWaveEditorView)
- // Form Data
- public:
- //{{AFX_DATA(CWaveEditorView)
- enum { IDD = IDD_WAVE_EDIT };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Attributes
- public:
- BOOL m_bPlaying;
- BOOL m_bStopped;
- BOOL m_bPaused;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CWaveEditorView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CWaveEditorView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CWaveEditorView)
- afx_msg void OnPlay();
- afx_msg void OnStop();
- afx_msg void OnPause();
- afx_msg void OnUpdatePause(CCmdUI* pCmdUI);
- afx_msg void OnUpdatePlay(CCmdUI* pCmdUI);
- afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSetFocus(CWnd* pOldWnd);
- afx_msg void OnKillFocus(CWnd* pNewWnd);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnFileNew();
- afx_msg void OnFileOpen();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WAVEEDITORVIEW_H__A4FBB676_3B39_11D2_B4AD_EC9CB4CA7260__INCLUDED_)