www.pudn.com > final_6.rar > PerView.h
#if !defined(AFX_PERVIEW_H__F9572A05_04BA_4CBD_90DB_625C17B7C0AC__INCLUDED_)
#define AFX_PERVIEW_H__F9572A05_04BA_4CBD_90DB_625C17B7C0AC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PerView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPerView view
class CPerView : public CView
{
protected:
CPerView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPerView)
// Attributes
public:
CPoint prePoint,curPoint;
bool bOpView;
CCGDoc* GEtDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPerView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CPerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CPerView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PERVIEW_H__F9572A05_04BA_4CBD_90DB_625C17B7C0AC__INCLUDED_)