⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapper.h

📁 vc 和mapobjects地理信息系统组件开发 很有启发意义和参考价值
💻 H
字号:
// mapper.h : main header file for the MAPPER application
//

#if !defined(AFX_MAPPER_H__6C1553F8_B836_4D35_9527_1027C4B59C29__INCLUDED_)
#define AFX_MAPPER_H__6C1553F8_B836_4D35_9527_1027C4B59C29__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CMapperApp:
// See mapper.cpp for the implementation of this class
//

#include "mapperview.h"
#include "mapperlayerview.h"

class CMapperApp : public CWinApp
{
	struct SMapSetup
	{
		int		 nPickTol;
		int		 nLieduShp;
		double   dFontSize;
		COLORREF MapColor;
		COLORREF QueryColor;
		COLORREF SelectColor;
	};

	struct SMapperDbInfo
	{
		int nServerType;
		CString sDataSource;
		CString sCatalog;
		CString sUser;
		CString sPassword;
	};

public:
	CString m_sRunPath;
	SMapSetup m_tMapSetup;
	SMapperDbInfo m_tDb;

	SMpfHeader	m_tHeader;
	SMpfMapInfo	m_tMapInfo;
	CArray<SMpfLayerInfo,SMpfLayerInfo> m_taEli;	//临时中转

	CString m_sSeisCurr;

public:
	CMapperView* GetMapPane();
	CMapperLayerView* GetLayerPane();

public:
	CMapperApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMapperApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	COleTemplateServer m_server;
		// Server object for document creation
	//{{AFX_MSG(CMapperApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern CMapperApp theApp;
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAPPER_H__6C1553F8_B836_4D35_9527_1027C4B59C29__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -