www.pudn.com > VX.rar > DTASvmView.h
// DTASvmView.h : interface of the CDTASvmView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DTASVMVIEW_H__AB9D83DB_12AE_4DB4_94FA_9CADDA0BDC54__INCLUDED_)
#define AFX_DTASVMVIEW_H__AB9D83DB_12AE_4DB4_94FA_9CADDA0BDC54__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDTASvmView : public CView
{
protected: // create from serialization only
CDTASvmView();
DECLARE_DYNCREATE(CDTASvmView)
// Attributes
public:
CDTASvmDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDTASvmView)
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:
void Drawing();
virtual ~CDTASvmView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CPen *pen_Brown; //¶¨ÒåÒ»Ö¦×ØÉ«±Ê
// Generated message map functions
protected:
afx_msg void OnContextMenu(CWnd*, CPoint point);
//{{AFX_MSG(CDTASvmView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DTASvmView.cpp
inline CDTASvmDoc* CDTASvmView::GetDocument()
{ return (CDTASvmDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DTASVMVIEW_H__AB9D83DB_12AE_4DB4_94FA_9CADDA0BDC54__INCLUDED_)