ex31cView.h
上传用户:led6868
上传日期:2007-01-27
资源大小:3005k
文件大小:2k
源码类别:

电子书籍

开发平台:

PDF

  1. // ex31cView.h : interface of the CEx31cView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_EX31CVIEW_H__496552FD_957C_11D0_85C0_97AC5D47DD70__INCLUDED_)
  5. #define AFX_EX31CVIEW_H__496552FD_957C_11D0_85C0_97AC5D47DD70__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CEx31cCntrItem;
  10. class CEx31cView : public CRichEditView
  11. {
  12. protected: // create from serialization only
  13. CEx31cView();
  14. DECLARE_DYNCREATE(CEx31cView)
  15. // Attributes
  16. public:
  17. CEx31cDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CEx31cView)
  23. public:
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual void OnInitialUpdate(); // called first time after construct
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CEx31cView();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. protected:
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CEx31cView)
  40. // NOTE - the ClassWizard will add and remove member functions here.
  41. //    DO NOT EDIT what you see in these blocks of generated code !
  42. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  43. afx_msg void OnEditClearAll();
  44. afx_msg void OnUpdateEditClearAll(CCmdUI* pCmdUI);
  45. afx_msg void OnDestroy();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. #ifndef _DEBUG  // debug version in ex31cView.cpp
  50. inline CEx31cDoc* CEx31cView::GetDocument()
  51.    { return (CEx31cDoc*)m_pDocument; }
  52. #endif
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_EX31CVIEW_H__496552FD_957C_11D0_85C0_97AC5D47DD70__INCLUDED_)