www.pudn.com > ZhuYouyong.rar > ZhuYouyongView.h


// ZhuYouyongView.h : interface of the CZhuYouyongView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_ZHUYOUYONGVIEW_H__91ED109F_C42F_426D_9E4C_8417DFFB360E__INCLUDED_) 
#define AFX_ZHUYOUYONGVIEW_H__91ED109F_C42F_426D_9E4C_8417DFFB360E__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CZhuYouyongView : public CView 
{ 
protected: // create from serialization only 
	CZhuYouyongView(); 
	DECLARE_DYNCREATE(CZhuYouyongView) 
 
// Attributes 
public: 
	CZhuYouyongDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CZhuYouyongView) 
	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: 
	virtual ~CZhuYouyongView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
	int m_drag;                   //标识鼠标状态 
	HCURSOR m_hcursor;            //光标的形状 
	CPoint m_prev; 
	CPoint m_origin; 
 
 
 
	CPoint good;          //spline 
	int nnnn; 
	int mmmm; 
 
 
    CPoint oo; 
	CPoint shuzhu[dingdian]; 
	int cnt; 
	int fill; 
 
	int nono,temporary;      //立体图形 
 
 
protected: 
	//{{AFX_MSG(CZhuYouyongView) 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in ZhuYouyongView.cpp 
inline CZhuYouyongDoc* CZhuYouyongView::GetDocument() 
   { return (CZhuYouyongDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ZHUYOUYONGVIEW_H__91ED109F_C42F_426D_9E4C_8417DFFB360E__INCLUDED_)