www.pudn.com > 在控件的客户区中使用textout.rar > vueView.h


// vueView.h : interface of the CVueView class 
// 
///////////////////////////////////////////////////////////////////////////// 
#include "autovuex.h" 
#include "avmarkupx.h" 
#if !defined(AFX_VUEVIEW_H__6FD529C7_E40B_4D25_92B9_93FA82E64745__INCLUDED_) 
#define AFX_VUEVIEW_H__6FD529C7_E40B_4D25_92B9_93FA82E64745__INCLUDED_ 
#include "vueDoc.h" 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CVueView : public CFormView 
{ 
protected: // create from serialization only 
	CVueView(); 
	DECLARE_DYNCREATE(CVueView) 
	BOOL m_bInit; 
	double dPosX; 
	double dPosY; 
public: 
	//{{AFX_DATA(CVueView) 
	enum{ IDD = IDD_VUE_FORM }; 
	CAutoVueX	m_AvXCtrl; 
	CAvMarkupX  m_AmXCtrl; 
	 
	 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CVueDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CVueView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	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); 
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	bool m_mark; 
	virtual ~CVueView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	HCURSOR m_hCross; 
	bool m_bDragging; 
	CPoint m_ptOrigin; 
	//{{AFX_MSG(CVueView) 
	afx_msg void OnModeChanged(short nOldMode, short nNewMode); 
	afx_msg void OnButton1(); 
	afx_msg void OnButton2(); 
	afx_msg void OnButton3(); 
	afx_msg void OnTextout(); 
 
	afx_msg void OnOnLMButtonDownAutovuexctrl(double xPos, double yPos); 
	afx_msg void OnOnRMButtonDownAutovuexctrl(double xPos, double yPos); 
	DECLARE_EVENTSINK_MAP() 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in vueView.cpp 
inline CVueDoc* CVueView::GetDocument() 
   { return (CVueDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_VUEVIEW_H__6FD529C7_E40B_4D25_92B9_93FA82E64745__INCLUDED_)