资源简介
mapx5.02在win7/8/10的32/64位系统安装。里面包括安装包及安装步骤,文件已经破解,按文档提示安装完之后可以直接使用
代码片段和文件信息
// 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-14 22:47 mapx安装\
目录 0 2017-03-14 22:31 mapx安装\MapX\
文件 40960 2002-05-17 17:19 mapx安装\MapX\ADRGASRP.RHL
文件 530000 1997-09-11 11:53 mapx安装\MapX\ALASKA.LAS
文件 530000 1997-09-11 11:53 mapx安装\MapX\ALASKA.LOS
文件 45056 2002-06-12 21:45 mapx安装\MapX\ALLTYPE.DLL
文件 12288 2002-06-12 21:45 mapx安装\MapX\AllTypeRes.dll
文件 24576 2002-06-12 22:11 mapx安装\MapX\AppSelection.dll
文件 69632 2002-05-17 17:22 mapx安装\MapX\CADRGCIB.RHL
文件 40960 2002-06-12 22:11 mapx安装\MapX\ChangeManager.dll
文件 45056 2002-06-12 22:27 mapx安装\MapX\ColLookupSystem.dll
文件 24576 2002-06-12 22:06 mapx安装\MapX\CommandProcessor.dll
文件 12288 2002-06-12 22:06 mapx安装\MapX\CommandProcessorRes.dll
文件 133712 1997-09-11 11:53 mapx安装\MapX\CONUS.LAS
文件 133712 1997-09-11 11:53 mapx安装\MapX\CONUS.LOS
文件 585728 2002-06-12 21:43 mapx安装\MapX\COORDSYS.DLL
文件 12288 2002-06-12 21:43 mapx安装\MapX\CoordSysRes.dll
文件 45056 2002-06-12 21:45 mapx安装\MapX\CustomProperties.dll
文件 667648 2002-06-12 22:06 mapx安装\MapX\DAENGINE.DLL
文件 16384 2002-06-12 22:06 mapx安装\MapX\DAEngineRes.dll
文件 53248 2002-06-12 21:52 mapx安装\MapX\DBINFO.DLL
文件 12288 2002-06-12 21:52 mapx安装\MapX\DBInfoRes.dll
文件 131072 2002-06-12 21:53 mapx安装\MapX\DBla
文件 12288 2002-06-12 21:53 mapx安装\MapX\DBla
文件 16384 1998-09-28 17:41 mapx安装\MapX\DELPHIMM.DLL
文件 40960 2002-05-17 17:16 mapx安装\MapX\DEM.GHL
文件 40960 2002-05-17 17:16 mapx安装\MapX\DTED.GHL
文件 77824 2002-03-07 17:52 mapx安装\MapX\ECW.RHL
文件 49152 2002-06-12 21:46 mapx安装\MapX\ExprPacket.dll
文件 28672 2002-06-12 21:47 mapx安装\MapX\ExprPacketCreator.dll
文件 12288 2002-06-12 21:47 mapx安装\MapX\ExprPacketCreatorRes.dll
............此处省略1223个文件信息
评论
共有 条评论