www.pudn.com > 0621CAchive.rar > 0621CAchiveView.h
// 0621CAchiveView.h : interface of the CMy0621CAchiveView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_0621CACHIVEVIEW_H__A6984099_D6FE_42E8_8D42_06C39BF673FF__INCLUDED_)
#define AFX_0621CACHIVEVIEW_H__A6984099_D6FE_42E8_8D42_06C39BF673FF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMy0621CAchiveView : public CView
{
protected: // create from serialization only
CMy0621CAchiveView();
DECLARE_DYNCREATE(CMy0621CAchiveView)
// Attributes
public:
CMy0621CAchiveDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy0621CAchiveView)
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 ~CMy0621CAchiveView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMy0621CAchiveView)
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:
BOOL m_Darw;
CPoint m_OldPoint;
};
#ifndef _DEBUG // debug version in 0621CAchiveView.cpp
inline CMy0621CAchiveDoc* CMy0621CAchiveView::GetDocument()
{ return (CMy0621CAchiveDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_0621CACHIVEVIEW_H__A6984099_D6FE_42E8_8D42_06C39BF673FF__INCLUDED_)