home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / SOUND.ZIP / sndView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-04  |  1.7 KB  |  67 lines

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