www.pudn.com > Xread2.rar > Xread2View.h


// Xread2View.h : interface of the CXread2View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_XREAD2VIEW_H__804C7D0A_7CB5_4492_BE5D_9A3797509E98__INCLUDED_) 
#define AFX_XREAD2VIEW_H__804C7D0A_7CB5_4492_BE5D_9A3797509E98__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CXread2View : public CScrollView 
{ 
protected: // create from serialization only 
	CXread2View(); 
	DECLARE_DYNCREATE(CXread2View) 
 
// Attributes 
public: 
	CXread2Doc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CXread2View) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL ConvertRawToBmp(CString strRawName,CString strBmpName,int m_width,int m_height); 
	virtual ~CXread2View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CXread2View) 
	afx_msg void OnConvert(); 
	afx_msg void OnLineChang(); 
	afx_msg void OnSmooth(); 
	afx_msg void OnRuihua(); 
	afx_msg void OnRysz(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in Xread2View.cpp 
inline CXread2Doc* CXread2View::GetDocument() 
   { return (CXread2Doc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_XREAD2VIEW_H__804C7D0A_7CB5_4492_BE5D_9A3797509E98__INCLUDED_)