www.pudn.com > GEOMAP.rar > GEOMAPView.h


// GEOMAPView.h : interface of the CGEOMAPView class 
// 
///////////////////////////////////////////////////////////////////////////// 
//{{AFX_INCLUDES() 
#include "cmapx.h" 
#include "MutiTreeCtrl.h" 
//}}AFX_INCLUDES 
#include "Layers.h" 
#include "Search.h" 
#if !defined(AFX_GEOMAPVIEW_H__5BE2EF6B_D406_4B2D_8B40_EB8FD126BF6D__INCLUDED_) 
#define AFX_GEOMAPVIEW_H__5BE2EF6B_D406_4B2D_8B40_EB8FD126BF6D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CGEOMAPView : public CFormView 
{ 
protected: // create from serialization only 
	CGEOMAPView(); 
	DECLARE_DYNCREATE(CGEOMAPView) 
 
public: 
	//{{AFX_DATA(CGEOMAPView) 
	enum { IDD = IDD_GEOMAP_FORM }; 
	CTabCtrl	m_tab; 
	CEdit	m_Edit; 
	CButton	m_Static2; 
	CButton	m_Static; 
	CMutiTreeCtrl	m_Tree1; 
	CButton	m_Static1; 
	CMapX	m_Map1; 
	CMapX	m_Map2; 
	CString	m_str1; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CGEOMAPDoc* GetDocument(); 
    CString	m_str2; 
 
// Operations 
public: 
	CMapXLayer m_Layer; 
	CMapXLayer m_Map1Layer; 
	CImageList m_imgState; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CGEOMAPView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	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: 
	virtual ~CGEOMAPView(); 
    CLayers page1; 
    CSearch page2;  
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CGEOMAPView) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnOpenMap(); 
	afx_msg void OnPanMap(); 
	afx_msg void OnZoominMap(); 
	afx_msg void OnZoomoutMap(); 
	afx_msg void OnFulleventMap(); 
	afx_msg void OnDistanceMap(); 
	afx_msg void OnToolUsedMap1(short ToolNum, double X1, double Y1, double X2, double Y2, double Distance, BOOL Shift, BOOL Ctrl, BOOL FAR* EnableDefault); 
	afx_msg void OnSizeMap(); 
	afx_msg void OnMouseMoveMap1(short Button, short Shift, float X, float Y); 
	afx_msg void OnMouseDownMap2(short Button, short Shift, float X, float Y); 
	afx_msg void OnLayerEdit(); 
	afx_msg void OnLayerInfor(); 
	afx_msg void OnAddLabel(); 
	afx_msg void OnOpenGeom(); 
    afx_msg LONG OnTreeMouseDown(WPARAM wP,LPARAM lP); 
    afx_msg LONG OnTreeMouseDown1(WPARAM wP,LPARAM lP); 
	afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnSelchangingTab1(NMHDR* pNMHDR, LRESULT* pResult); 
	DECLARE_EVENTSINK_MAP() 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in GEOMAPView.cpp 
inline CGEOMAPDoc* CGEOMAPView::GetDocument() 
   { return (CGEOMAPDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_GEOMAPVIEW_H__5BE2EF6B_D406_4B2D_8B40_EB8FD126BF6D__INCLUDED_)