www.pudn.com > vcframe.rar > matchView.h


// matchView.h : interface of the CMatchView class 
// 
///////////////////////////////////////////////////////////////////////////// 
#include "matchDoc.h" 
#if !defined(AFX_MATCHVIEW_H__D401F7A0_5D3B_4831_9074_485273BE75F1__INCLUDED_) 
#define AFX_MATCHVIEW_H__D401F7A0_5D3B_4831_9074_485273BE75F1__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include  
class CMatchView : public CScrollView 
{ 
protected: // create from serialization only 
	CMatchView(); 
	DECLARE_DYNCREATE(CMatchView) 
 
// Attributes 
public: 
	CMatchDoc* GetDocument(); 
void rectangle(POINT point[2],double f,double m[3],double n[3]); 
// Operations 
public: 
	double lm[3]; 
	double ln[3]; 
	double rm[3]; 
	double rn[3]; 
	double sm; 
	double f; 
	double Xs1,Ys1,Zs1; 
	double ax1,w1,k1; 
	double Xs2,Ys2,Zs2; 
	double ax2,w2,k2; 
    double delt_Xs; 
	double delt_Ys; 
	double delt_Zs; 
	double delt_ax; 
    double delt_w; 
    double delt_k; 
	double JIXIAN_B; 
	double tao_t; 
	double wei_v; 
	double t_1,t_2,k_10,k_20; 
	double a1,a2,a3,b1,b2,b3,c1,c2,c3; 
 
   bool flag; 
   int y_left,y_right,lie_left,hang_left,lie_right,hang_right; 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMatchView) 
	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: 
	CArray m_ArrayDot; 
	HDIB hDib; 
	virtual ~CMatchView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMatchView) 
	afx_msg void OnInterior(); 
	afx_msg void OnInputwfwys(); 
	afx_msg void OnLeftCorrect(); 
	afx_msg void OnRightCorrect(); 
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); 
	afx_msg void OnInputObtainedxdfys(); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in matchView.cpp 
inline CMatchDoc* CMatchView::GetDocument() 
   { return (CMatchDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MATCHVIEW_H__D401F7A0_5D3B_4831_9074_485273BE75F1__INCLUDED_)