exam3View.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
- // exam3View.h : interface of the CExam3View class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_EXAM3VIEW_H__560715CA_CA7F_4CC9_867A_1B40A607B310__INCLUDED_)
- #define AFX_EXAM3VIEW_H__560715CA_CA7F_4CC9_867A_1B40A607B310__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "pointinfo.h"
- #include "afxtempl.h"
- class CExam3View : public CView
- {
- protected: // create from serialization only
- CExam3View();
- DECLARE_DYNCREATE(CExam3View)
- // Attributes
- public:
- CExam3Doc* GetDocument();
- // Operations
- public:
- CPointInfo *m_pPointInfo;
- CArray<CPoint,CPoint> m_arArray;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CExam3View)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //自己加的
- virtual void OnInitialUpdate();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CExam3View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CExam3View)
- afx_msg void OnNomodeDialog();
- afx_msg void OnUpdateNomodeDialog(CCmdUI* pCmdUI);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnDeletePoint(WPARAM wParam,LPARAM lParam);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in exam3View.cpp
- inline CExam3Doc* CExam3View::GetDocument()
- { return (CExam3Doc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EXAM3VIEW_H__560715CA_CA7F_4CC9_867A_1B40A607B310__INCLUDED_)