ex125View.h
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:2k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // ex125View.h : interface of the CEx125View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_EX125VIEW_H__6B28E2F5_274A_4301_94F3_DFE6571ACF36__INCLUDED_)
  5. #define AFX_EX125VIEW_H__6B28E2F5_274A_4301_94F3_DFE6571ACF36__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CEx125View : public CView
  10. {
  11. protected: // create from serialization only
  12. CEx125View();
  13. DECLARE_DYNCREATE(CEx125View)
  14. // Attributes
  15. public:
  16. CEx125Doc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CEx125View)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  27. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  28. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. public:
  32. HWND m_hwndMCIWnd;
  33. virtual ~CEx125View();
  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(CEx125View)
  42. afx_msg void OnFileOpen();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. #ifndef _DEBUG  // debug version in ex125View.cpp
  47. inline CEx125Doc* CEx125View::GetDocument()
  48.    { return (CEx125Doc*)m_pDocument; }
  49. #endif
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_EX125VIEW_H__6B28E2F5_274A_4301_94F3_DFE6571ACF36__INCLUDED_)