WaveEditClientView.h
上传用户:samlee1007
上传日期:2007-01-02
资源大小:123k
文件大小:2k
源码类别:

文件操作

开发平台:

Visual C++

  1. #if !defined(AFX_WAVEEDITCLIENTVIEW_H__618031D7_6A68_11D2_B4AD_DEC1CAFE5B54__INCLUDED_)
  2. #define AFX_WAVEEDITCLIENTVIEW_H__618031D7_6A68_11D2_B4AD_DEC1CAFE5B54__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // WaveEditClientView.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CWaveEditClientView form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "waveedit.h"
  14. class CWaveEditClientView : public CFormView
  15. {
  16. protected:
  17. CWaveEditClientView();           // protected constructor used by dynamic creation
  18. IWaveEdit m_waveEditObject;
  19. int nMin, nSec, nMilli;
  20. DECLARE_DYNCREATE(CWaveEditClientView)
  21. // Form Data
  22. public:
  23. //{{AFX_DATA(CWaveEditClientView)
  24. enum { IDD = IDD_WAVE_CLIENT };
  25. // NOTE: the ClassWizard will add data members here
  26. //}}AFX_DATA
  27. // Attributes
  28. public:
  29. // Operations
  30. public:
  31. BOOL m_bPaused;
  32. BOOL m_bPlaying;
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CWaveEditClientView)
  36. public:
  37. virtual void OnInitialUpdate();
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. BOOL m_bHidden;
  44. virtual ~CWaveEditClientView();
  45. #ifdef _DEBUG
  46. virtual void AssertValid() const;
  47. virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49. // Generated message map functions
  50. //{{AFX_MSG(CWaveEditClientView)
  51. afx_msg void OnPause();
  52. afx_msg void OnUpdatePause(CCmdUI* pCmdUI);
  53. afx_msg void OnPlay();
  54. afx_msg void OnUpdatePlay(CCmdUI* pCmdUI);
  55. afx_msg void OnStop();
  56. afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
  57. afx_msg void OnHide();
  58. afx_msg void OnShow();
  59. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  60. afx_msg void OnTimer(UINT nIDEvent);
  61. afx_msg void OnUpdateHide(CCmdUI* pCmdUI);
  62. afx_msg void OnUpdateShow(CCmdUI* pCmdUI);
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. };
  66. /////////////////////////////////////////////////////////////////////////////
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  69. #endif // !defined(AFX_WAVEEDITCLIENTVIEW_H__618031D7_6A68_11D2_B4AD_DEC1CAFE5B54__INCLUDED_)