MainFrm.h
上传用户:sdpcwz
上传日期:2009-12-14
资源大小:1237k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__10430C1D_918E_11D4_8B3A_0050BAD195A9__INCLUDED_)
- #define AFX_MAINFRM_H__10430C1D_918E_11D4_8B3A_0050BAD195A9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Wave.h"
- class CMainFrame : public CFrameWnd
- {
-
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- CWave m_wave; //CWave类变量
- BOOL m_bPlay; //标记当前播放状态
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSnd();
- afx_msg void OnOpen();
- afx_msg void OnStop();
- afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
- //}}AFX_MSG
- afx_msg LRESULT OnMCINotify(WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__10430C1D_918E_11D4_8B3A_0050BAD195A9__INCLUDED_)