www.pudn.com > work12_2.rar > yong24View.h
// yong24View.h : interface of the CYong24View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_YONG24VIEW_H__58CACAE7_B7DF_4179_B775_C84550CEA424__INCLUDED_)
#define AFX_YONG24VIEW_H__58CACAE7_B7DF_4179_B775_C84550CEA424__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CYong24View : public CView
{
protected: // create from serialization only
CYong24View();
DECLARE_DYNCREATE(CYong24View)
// Attributes
public:
CYong24Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CYong24View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT&amt; 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:
POINT CPtemp;
virtual ~CYong24View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext&amt; dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CYong24View)
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()
};
#ifndef _DEBUG // debug version in yong24View.cpp
inline CYong24Doc* CYong24View::GetDocument()
{ return (CYong24Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YONG24VIEW_H__58CACAE7_B7DF_4179_B775_C84550CEA424__INCLUDED_)