www.pudn.com > YangyongDIP.rar > YangyongDIPView.h


// YangyongDIPView.h : interface of the CYangyongDIPView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_YANGYONGDIPVIEW_H__0044CCD7_AB1C_4AE6_86E5_0C0AEF11C654__INCLUDED_) 
#define AFX_YANGYONGDIPVIEW_H__0044CCD7_AB1C_4AE6_86E5_0C0AEF11C654__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CYangyongDIPView : public CScrollView 
{ 
protected: // create from serialization only 
	CYangyongDIPView(); 
	DECLARE_DYNCREATE(CYangyongDIPView) 
 
// Attributes 
public: 
	CYangyongDIPDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CYangyongDIPView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); 
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CYangyongDIPView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CYangyongDIPView) 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg void OnEditPaste(); 
	afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); 
	afx_msg void OnEditCopy(); 
	afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI); 
	afx_msg void OnFreqFour(); 
	afx_msg void OnUpdateFreqFour(CCmdUI* pCmdUI); 
	afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam);  // user message 
	afx_msg void OnFileSaveAsPcx(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in YangyongDIPView.cpp 
inline CYangyongDIPDoc* CYangyongDIPView::GetDocument() 
   { return (CYangyongDIPDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_YANGYONGDIPVIEW_H__0044CCD7_AB1C_4AE6_86E5_0C0AEF11C654__INCLUDED_)