Day10View.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
- // Day10View.h : interface of the CDay10View class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_)
- #define AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDay10View : public CView
- {
- protected: // create from serialization only
- CDay10View();
- DECLARE_DYNCREATE(CDay10View)
- // Attributes
- public:
- CDay10Doc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDay10View)
- 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);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CDay10View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDay10View)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CPoint m_ptPrevP;
- };
- #ifndef _DEBUG // debug version in Day10View.cpp
- inline CDay10Doc* CDay10View::GetDocument()
- { return (CDay10Doc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_)