www.pudn.com > MapXpro006.rar > MapXpro006View.h


// MapXpro006View.h : interface of the CMapXpro006View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAPXPRO006VIEW_H__E794A4D8_D973_40B5_A8FD_2CA8D77D3449__INCLUDED_) 
#define AFX_MAPXPRO006VIEW_H__E794A4D8_D973_40B5_A8FD_2CA8D77D3449__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
//huhu01; 
#include "MapX.h" 
//huhu01; 
class CMapXpro006View : public CView 
{ 
protected: // create from serialization only 
	CMapXpro006View(); 
	DECLARE_DYNCREATE(CMapXpro006View) 
 
// Attributes 
public: 
	CMapXpro006Doc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMapXpro006View) 
	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 ~CMapXpro006View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	//huhu02 
	CMapX m_ctrlMapX; 
	//huhu02; 
	//huhu03添加IDC_MAP资源; 
 
// Generated message map functions 
protected: 
	//huhu04; 
	//{{AFX_MSG(CMapXpro006View) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnSetFocus(CWnd* pOldWnd); 
	afx_msg void OnUserdrawline(); 
	afx_msg void OnScalemap(); 
	afx_msg void OnClearuserlayer(); 
	afx_msg void OnZoominitem(); 
	afx_msg void OnZoomoutitem(); 
	//}}AFX_MSG 
	//huhu04 
 
	//huhu21响应用户直线被点击后所发的消息的事件处理函数(事件声明); 
	afx_msg void OnDrawUserLayer(LPDISPATCH Layer, long hOutputDC,  
					long hAttributeDC, LPDISPATCH RectFull,LPDISPATCH RectInvalid); 
	DECLARE_EVENTSINK_MAP() 
	//huhu21; 
 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MapXpro006View.cpp 
inline CMapXpro006Doc* CMapXpro006View::GetDocument() 
   { return (CMapXpro006Doc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAPXPRO006VIEW_H__E794A4D8_D973_40B5_A8FD_2CA8D77D3449__INCLUDED_) 
//具体说明详见.cpp文件;