SimulateMouseView.h
上传用户:qzzxgm
上传日期:2009-12-14
资源大小:1882k
文件大小:2k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // SimulateMouseView.h : interface of the CSimulateMouseView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SIMULATEMOUSEVIEW_H__176041ED_8AE0_11D6_8F32_00E04CE76240__INCLUDED_)
  5. #define AFX_SIMULATEMOUSEVIEW_H__176041ED_8AE0_11D6_8F32_00E04CE76240__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CSimulateMouseView : public CFormView
  10. {
  11. protected: // create from serialization only
  12. CSimulateMouseView();
  13. DECLARE_DYNCREATE(CSimulateMouseView)
  14. public:
  15. //{{AFX_DATA(CSimulateMouseView)
  16. enum{ IDD = IDD_SIMULATEMOUSE_FORM };
  17. // NOTE: the ClassWizard will add data members here
  18. //}}AFX_DATA
  19. // Attributes
  20. public:
  21. CSimulateMouseDoc* GetDocument();
  22. // Operations
  23. public:
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CSimulateMouseView)
  27. public:
  28. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. virtual void OnInitialUpdate(); // called first time after construct
  32. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  33. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  34. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  35. virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. public:
  39. virtual ~CSimulateMouseView();
  40. #ifdef _DEBUG
  41. virtual void AssertValid() const;
  42. virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44. protected:
  45. // Generated message map functions
  46. protected:
  47. //{{AFX_MSG(CSimulateMouseView)
  48. afx_msg void OnLdbclick();
  49. afx_msg void OnLclick();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. #ifndef _DEBUG  // debug version in SimulateMouseView.cpp
  54. inline CSimulateMouseDoc* CSimulateMouseView::GetDocument()
  55.    { return (CSimulateMouseDoc*)m_pDocument; }
  56. #endif
  57. /////////////////////////////////////////////////////////////////////////////
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_SIMULATEMOUSEVIEW_H__176041ED_8AE0_11D6_8F32_00E04CE76240__INCLUDED_)