icrEditView.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #if !defined(AFX_ICREDITVIEW_H_INCLUDED_)
  2. #define AFX_ICREDITVIEW_H_INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. #include "SynEditView.h"
  7. class CIcrEditView : public CSynEditView
  8. {
  9. protected: // create from serialization only
  10. CIcrEditView();
  11. DECLARE_DYNCREATE(CIcrEditView)
  12. // Attributes
  13. public:
  14. // Operations
  15. public:
  16. // Overrides
  17. // ClassWizard generated virtual function overrides
  18. //{{AFX_VIRTUAL(CIcrEditView)
  19. public:
  20. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. protected:
  23. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  24. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  25. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  26. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. public:
  30. CString GetCursorString();
  31. void ShowCursorPosition();
  32. virtual ~CIcrEditView();
  33. #ifdef _DEBUG
  34. #endif
  35. protected:
  36. // Generated message map functions
  37. protected:
  38. //{{AFX_MSG(CIcrEditView)
  39. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  40. afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
  41. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  42. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  43. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  44. afx_msg void OnFilePrintPreview();
  45. afx_msg void OnCheck();
  46. afx_msg void OnSelAnalog();
  47. afx_msg void OnFunction();
  48. afx_msg void OnSelDigital();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. #ifndef _DEBUG // debug version in icrEditView.cpp
  53. #endif
  54. /////////////////////////////////////////////////////////////////////////////
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_ICREDITVIEW_H_INCLUDED_)