www.pudn.com > xxmpx_sjs.rar > xxmpxView.h


// xxmpxView.h : interface of the CXxmpxView class 
// 
#include "ZlbDlg.h" 
#include "DoTest.h" 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_XXMPXVIEW_H__EC7D120C_A8A8_11D6_900C_DCF61EC7A134__INCLUDED_) 
#define AFX_XXMPXVIEW_H__EC7D120C_A8A8_11D6_900C_DCF61EC7A134__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CXxmpxView : public CScrollView 
{ 
protected: // create from serialization only 
	CXxmpxView(); 
	DECLARE_DYNCREATE(CXxmpxView) 
 
// Attributes 
public: 
	CXxmpxDoc* GetDocument(); 
    ZlbDlg *aZlbDlg; 
	DoTest *aDoTest; 
// Operations 
public: 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CXxmpxView) 
	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 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	int m_inputHzNum;        //表示输入的正确的字数 
	int m_inputKeyNum; 
	virtual ~CXxmpxView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CXxmpxView) 
	afx_msg void OnReadFmrjj(); 
	afx_msg void OnReadRule(); 
	afx_msg void OnReadAnser(); 
	afx_msg void OnReadZlb(); 
	afx_msg void OnTestDo(); 
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnTestZllx(); 
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnTESTwtsZLLX(); 
	afx_msg void OnReadCome(); 
	afx_msg void OnReadFpgz(); 
	afx_msg void OnReadZcqw(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in xxmpxView.cpp 
inline CXxmpxDoc* CXxmpxView::GetDocument() 
   { return (CXxmpxDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_XXMPXVIEW_H__EC7D120C_A8A8_11D6_900C_DCF61EC7A134__INCLUDED_)