www.pudn.com > mapx_test.rar > mapx_testView.h
// mapx_testView.h : interface of the CMapx_testView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAPX_TESTVIEW_H__762029E7_38E5_46BB_A296_88F3C6D99740__INCLUDED_)
#define AFX_MAPX_TESTVIEW_H__762029E7_38E5_46BB_A296_88F3C6D99740__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Mapx.h"
class CMapx_testView : public CView
{
protected: // create from serialization only
CMapx_testView();
DECLARE_DYNCREATE(CMapx_testView)
// Attributes
public:
CMapx_testDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMapx_testView)
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:
CString geoset_path;
CMapX m_ctrlMapX;
CMapXTitle m_maptitle;
virtual ~CMapx_testView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMapx_testView)
afx_msg void OnFileStart();
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 OnZoomIn();
afx_msg void OnZoomOut();
afx_msg void OnArrowTool();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in mapx_testView.cpp
inline CMapx_testDoc* CMapx_testView::GetDocument()
{ return (CMapx_testDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAPX_TESTVIEW_H__762029E7_38E5_46BB_A296_88F3C6D99740__INCLUDED_)