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

midi

开发平台:

Visual C++

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