资源简介
mapx5.02在win7(win8)的64位32位的系统上安装。里面包括安装包及安装步骤,文件已经破解,按文档提示安装完之后可以直接使用
代码片段和文件信息
// BufferDlg.cpp : implementation file
//
/*
* This sample application and corresponding sample code is provided for
* example purposes only. It has not undergone rigorous testing and as
* such should not be shipped as part of a final application without
* extensive testing on the part of the organization releasing the
* end-user product.
*/
#include “stdafx.h“
#include “MapTest.h“
#include “BufferDlg.h“
#include “Mapx.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBufferDlg dialog
CBufferDlg::CBufferDlg(CWnd* pParent /*=NULL*/)
: CDialog(CBufferDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CBufferDlg)
m_Distance = 0;
//}}AFX_DATA_INIT
}
void CBufferDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBufferDlg)
DDX_Text(pDX IDC_EDITDISTANCE m_Distance);
DDV_MinMaxInt(pDX m_Distance 1 1000);
//}}AFX_DATA_MAP
DDX_Control(pDX IDC_LISTOUTLETS m_chkListBox);
}
BEGIN_MESSAGE_MAP(CBufferDlg CDialog)
//{{AFX_MSG_MAP(CBufferDlg)
ON_BN_CLICKED(IDC_MILES OnMiles)
ON_BN_CLICKED(IDC_KILOMETERS OnKilometers)
ON_NOTIFY(UDN_DELTAPOS IDC_SPINDISTANCE OnDeltaposSpindistance)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBufferDlg message handlers
void CBufferDlg::InitListBox()
{
CMapXlayer outletLyr;
m_chkListBox.ResetContent(); //Empty the contents of the list box.
if (!m_pMap->Getlayers().Item(“Outlets“)){//If the “Outlets“ layer isn‘t there do not
return; //go any further.
}
try {
m_outletFtrs = m_pMap->Getlayers().Item(“Outlets“).AllFeatures();
//m_outletFtrs is set equal to the features of the “Outlets“ layer
outletLyr = m_pMap->Getlayers().Item(“Outlets“);
//outletLyr is set equal to the “Outlets“ layer
outletLyr.SetKeyField(“Store_Name“);
//Change the keyfield of outletLyr equal to “Store_Name“ the second column
// in the Outlets.tab file
for (int i = 1; i <= m_outletFtrs.GetCount(); i++){
CString ftrName = m_outletFtrs.Item(i).GetKeyValue(); //Get the keyvalue
int n = m_chkListBox.AddString(ftrName); //Add it to the listbox
m_chkListBox.SetItemData(n (DWORD)i);
}
} catch (COleDispatchException *e) {
e->ReportError();
e->Delete();
} catch (COleException *e) {
e->ReportError();
e->Delete();
}
}
BOOL CBufferDlg::OnInitDialog()
{
CSpinButtonCtrl* pSpin;
CDialog::OnInitDialog();
ASSERT(m_pMap);
InitListBox();
CheckDlgButton(IDC_MILES 1);
m_Units = miUnitMile;
pSpin = (CSpinButtonCtrl*)GetDlgItem(IDC_SPINDISTANCE);
pSpin->SetRange(1 1000);
pSpin->SetPos(140);
m_Distance = 140;
UpdateData(true);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-03-19 12:54 mapx_win7_64_32位\
文件 967 2017-03-14 22:31 mapx_win7_64_32位\GeosetManager50.exe - 快捷方式.lnk
目录 0 2017-03-19 12:54 mapx_win7_64_32位\MapX\
文件 40960 2002-05-17 17:19 mapx_win7_64_32位\MapX\ADRGASRP.RHL
文件 530000 1997-09-11 11:53 mapx_win7_64_32位\MapX\ALASKA.LAS
文件 530000 1997-09-11 11:53 mapx_win7_64_32位\MapX\ALASKA.LOS
文件 45056 2002-06-12 21:45 mapx_win7_64_32位\MapX\ALLTYPE.DLL
文件 12288 2002-06-12 21:45 mapx_win7_64_32位\MapX\AllTypeRes.dll
文件 24576 2002-06-12 22:11 mapx_win7_64_32位\MapX\AppSelection.dll
文件 69632 2002-05-17 17:22 mapx_win7_64_32位\MapX\CADRGCIB.RHL
文件 40960 2002-06-12 22:11 mapx_win7_64_32位\MapX\ChangeManager.dll
文件 45056 2002-06-12 22:27 mapx_win7_64_32位\MapX\ColLookupSystem.dll
文件 24576 2002-06-12 22:06 mapx_win7_64_32位\MapX\CommandProcessor.dll
文件 12288 2002-06-12 22:06 mapx_win7_64_32位\MapX\CommandProcessorRes.dll
文件 133712 1997-09-11 11:53 mapx_win7_64_32位\MapX\CONUS.LAS
文件 133712 1997-09-11 11:53 mapx_win7_64_32位\MapX\CONUS.LOS
文件 585728 2002-06-12 21:43 mapx_win7_64_32位\MapX\COORDSYS.DLL
文件 12288 2002-06-12 21:43 mapx_win7_64_32位\MapX\CoordSysRes.dll
文件 45056 2002-06-12 21:45 mapx_win7_64_32位\MapX\CustomProperties.dll
目录 0 2017-03-19 12:54 mapx_win7_64_32位\MapX\CUSTSYMB\
文件 630 1996-09-19 22:02 mapx_win7_64_32位\MapX\CUSTSYMB\AMBU1-32.BMP
文件 630 1996-09-19 14:26 mapx_win7_64_32位\MapX\CUSTSYMB\BADG1-32.BMP
文件 630 1996-09-19 21:23 mapx_win7_64_32位\MapX\CUSTSYMB\BADG2-32.BMP
文件 630 1996-09-19 19:56 mapx_win7_64_32位\MapX\CUSTSYMB\BANK1-32.BMP
文件 630 1996-09-19 14:54 mapx_win7_64_32位\MapX\CUSTSYMB\BANK2-32.BMP
文件 630 1996-09-19 19:58 mapx_win7_64_32位\MapX\CUSTSYMB\BOOK1-32.BMP
文件 630 1996-09-19 15:10 mapx_win7_64_32位\MapX\CUSTSYMB\CAMP1-32.BMP
文件 630 1996-09-19 15:32 mapx_win7_64_32位\MapX\CUSTSYMB\CAR1-32.BMP
文件 630 1996-09-19 15:26 mapx_win7_64_32位\MapX\CUSTSYMB\CAUT1-32.BMP
文件 630 1996-09-19 14:48 mapx_win7_64_32位\MapX\CUSTSYMB\CHUR1-32.BMP
文件 630 1996-09-19 14:59 mapx_win7_64_32位\MapX\CUSTSYMB\COMP1-32.BMP
............此处省略1223个文件信息
- 上一篇:迪恩育儿亲子商城整站带数据
- 下一篇:tc358749xbg数据手册和驱动源码
评论
共有 条评论