sndView.h
上传用户:wen82zi81
上传日期:2007-01-03
资源大小:40k
文件大小:2k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. // sndView.h : interface of the CSndView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SNDVIEW_H__2AAD228D_7424_11D2_8045_540610C10374__INCLUDED_)
  5. #define AFX_SNDVIEW_H__2AAD228D_7424_11D2_8045_540610C10374__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CSndView : public CView
  10. {
  11. protected: // create from serialization only
  12. CSndView();
  13. DECLARE_DYNCREATE(CSndView)
  14. // Attributes
  15. public:
  16. CSndDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CSndView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. virtual void OnInitialUpdate();
  26. protected:
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CSndView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CSndView)
  42. afx_msg void OnTimer(UINT nIDEvent);
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. #ifndef _DEBUG  // debug version in sndView.cpp
  47. inline CSndDoc* CSndView::GetDocument()
  48.    { return (CSndDoc*)m_pDocument; }
  49. #endif
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_SNDVIEW_H__2AAD228D_7424_11D2_8045_540610C10374__INCLUDED_)