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

📄 supermap.cpp

📁 SuperMap中VC开发环境下投影转换示范源码
💻 CPP
📖 第 1 页 / 共 5 页
字号:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


#include "stdafx.h"
#include "supermap.h"

// Dispatch interfaces referenced by this interface

/////////////////////////////////////////////////////////////////////////////
// CSuperMap

IMPLEMENT_DYNCREATE(CSuperMap, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CSuperMap properties

long CSuperMap::GetReadyState()
{
	long result;
	GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
	return result;
}

long CSuperMap::GetAction()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetAction(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

CString CSuperMap::GetMouseIcon()
{
	CString result;
	GetProperty(0x2, VT_BSTR, (void*)&result);
	return result;
}

void CSuperMap::SetMouseIcon(LPCTSTR propVal)
{
	SetProperty(0x2, VT_BSTR, propVal);
}

CsoLayers CSuperMap::GetLayers()
{
	LPDISPATCH pDispatch;
	GetProperty(0x3, VT_DISPATCH, (void*)&pDispatch);
	return CsoLayers(pDispatch);
}

void CSuperMap::SetLayers(LPDISPATCH propVal)
{
	SetProperty(0x3, VT_DISPATCH, propVal);
}

short CSuperMap::GetAppearance()
{
	short result;
	GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
	return result;
}

void CSuperMap::SetAppearance(short propVal)
{
	SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
}

short CSuperMap::GetBorderStyle()
{
	short result;
	GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
	return result;
}

void CSuperMap::SetBorderStyle(short propVal)
{
	SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}

double CSuperMap::GetCenterX()
{
	double result;
	GetProperty(0x4, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetCenterX(double propVal)
{
	SetProperty(0x4, VT_R8, propVal);
}

double CSuperMap::GetCenterY()
{
	double result;
	GetProperty(0x5, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetCenterY(double propVal)
{
	SetProperty(0x5, VT_R8, propVal);
}

CsoRect CSuperMap::GetBounds()
{
	LPDISPATCH pDispatch;
	GetProperty(0x6, VT_DISPATCH, (void*)&pDispatch);
	return CsoRect(pDispatch);
}

void CSuperMap::SetBounds(LPDISPATCH propVal)
{
	SetProperty(0x6, VT_DISPATCH, propVal);
}

CsoRect CSuperMap::GetViewBounds()
{
	LPDISPATCH pDispatch;
	GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch);
	return CsoRect(pDispatch);
}

void CSuperMap::SetViewBounds(LPDISPATCH propVal)
{
	SetProperty(0x7, VT_DISPATCH, propVal);
}

double CSuperMap::GetViewScale()
{
	double result;
	GetProperty(0x8, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetViewScale(double propVal)
{
	SetProperty(0x8, VT_R8, propVal);
}

long CSuperMap::GetVisibleTextSizeMin()
{
	long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetVisibleTextSizeMin(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

long CSuperMap::GetVisibleTextSizeMax()
{
	long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetVisibleTextSizeMax(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

BOOL CSuperMap::GetMarginPanEnable()
{
	BOOL result;
	GetProperty(0xb, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetMarginPanEnable(BOOL propVal)
{
	SetProperty(0xb, VT_BOOL, propVal);
}

long CSuperMap::GetMarginPanWidth()
{
	long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetMarginPanWidth(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

double CSuperMap::GetMarginPanPercent()
{
	double result;
	GetProperty(0xd, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetMarginPanPercent(double propVal)
{
	SetProperty(0xd, VT_R8, propVal);
}

CsoTrackingLayer CSuperMap::GetTrackingLayer()
{
	LPDISPATCH pDispatch;
	GetProperty(0xe, VT_DISPATCH, (void*)&pDispatch);
	return CsoTrackingLayer(pDispatch);
}

void CSuperMap::SetTrackingLayer(LPDISPATCH propVal)
{
	SetProperty(0xe, VT_DISPATCH, propVal);
}

CsoStyle CSuperMap::GetBackStyle()
{
	LPDISPATCH pDispatch;
	GetProperty(0xf, VT_DISPATCH, (void*)&pDispatch);
	return CsoStyle(pDispatch);
}

void CSuperMap::SetBackStyle(LPDISPATCH propVal)
{
	SetProperty(0xf, VT_DISPATCH, propVal);
}

CsoGeometry CSuperMap::GetTrackedGeometry()
{
	LPDISPATCH pDispatch;
	GetProperty(0x10, VT_DISPATCH, (void*)&pDispatch);
	return CsoGeometry(pDispatch);
}

void CSuperMap::SetTrackedGeometry(LPDISPATCH propVal)
{
	SetProperty(0x10, VT_DISPATCH, propVal);
}

CString CSuperMap::GetMapName()
{
	CString result;
	GetProperty(0x11, VT_BSTR, (void*)&result);
	return result;
}

void CSuperMap::SetMapName(LPCTSTR propVal)
{
	SetProperty(0x11, VT_BSTR, propVal);
}

long CSuperMap::GetSelectionTolerance()
{
	long result;
	GetProperty(0x12, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetSelectionTolerance(long propVal)
{
	SetProperty(0x12, VT_I4, propVal);
}

double CSuperMap::GetMinScale()
{
	double result;
	GetProperty(0x13, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetMinScale(double propVal)
{
	SetProperty(0x13, VT_R8, propVal);
}

double CSuperMap::GetMaxScale()
{
	double result;
	GetProperty(0x14, VT_R8, (void*)&result);
	return result;
}

void CSuperMap::SetMaxScale(double propVal)
{
	SetProperty(0x14, VT_R8, propVal);
}

BOOL CSuperMap::GetLockMapViewBounds()
{
	BOOL result;
	GetProperty(0x15, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetLockMapViewBounds(BOOL propVal)
{
	SetProperty(0x15, VT_BOOL, propVal);
}

CsoSelection CSuperMap::GetSelection()
{
	LPDISPATCH pDispatch;
	GetProperty(0x16, VT_DISPATCH, (void*)&pDispatch);
	return CsoSelection(pDispatch);
}

void CSuperMap::SetSelection(LPDISPATCH propVal)
{
	SetProperty(0x16, VT_DISPATCH, propVal);
}

BOOL CSuperMap::GetEditable()
{
	BOOL result;
	GetProperty(0x17, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetEditable(BOOL propVal)
{
	SetProperty(0x17, VT_BOOL, propVal);
}

CsoPJCoordSys CSuperMap::GetPJCoordSys()
{
	LPDISPATCH pDispatch;
	GetProperty(0x18, VT_DISPATCH, (void*)&pDispatch);
	return CsoPJCoordSys(pDispatch);
}

void CSuperMap::SetPJCoordSys(LPDISPATCH propVal)
{
	SetProperty(0x18, VT_DISPATCH, propVal);
}

long CSuperMap::GetCoordUnits()
{
	long result;
	GetProperty(0x19, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetCoordUnits(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

OLE_HANDLE CSuperMap::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

CsoTextStyle CSuperMap::GetCurTextStyle()
{
	LPDISPATCH pDispatch;
	GetProperty(0x1a, VT_DISPATCH, (void*)&pDispatch);
	return CsoTextStyle(pDispatch);
}

void CSuperMap::SetCurTextStyle(LPDISPATCH propVal)
{
	SetProperty(0x1a, VT_DISPATCH, propVal);
}

CsoStyle CSuperMap::GetCurStyle()
{
	LPDISPATCH pDispatch;
	GetProperty(0x1b, VT_DISPATCH, (void*)&pDispatch);
	return CsoStyle(pDispatch);
}

void CSuperMap::SetCurStyle(LPDISPATCH propVal)
{
	SetProperty(0x1b, VT_DISPATCH, propVal);
}

BOOL CSuperMap::GetBusyCursor()
{
	BOOL result;
	GetProperty(0x1c, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetBusyCursor(BOOL propVal)
{
	SetProperty(0x1c, VT_BOOL, propVal);
}

BOOL CSuperMap::GetHitTestBorderOnly()
{
	BOOL result;
	GetProperty(0x1d, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetHitTestBorderOnly(BOOL propVal)
{
	SetProperty(0x1d, VT_BOOL, propVal);
}

LPDISPATCH CSuperMap::GetHandle()
{
	LPDISPATCH result;
	GetProperty(0x1e, VT_DISPATCH, (void*)&result);
	return result;
}

void CSuperMap::SetHandle(LPDISPATCH propVal)
{
	SetProperty(0x1e, VT_DISPATCH, propVal);
}

BOOL CSuperMap::GetModified()
{
	BOOL result;
	GetProperty(0x40, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetModified(BOOL propVal)
{
	SetProperty(0x40, VT_BOOL, propVal);
}

CsoRect CSuperMap::GetViewBoundsForLocking()
{
	LPDISPATCH pDispatch;
	GetProperty(0x41, VT_DISPATCH, (void*)&pDispatch);
	return CsoRect(pDispatch);
}

void CSuperMap::SetViewBoundsForLocking(LPDISPATCH propVal)
{
	SetProperty(0x41, VT_DISPATCH, propVal);
}

BOOL CSuperMap::GetUndoEnabled()
{
	BOOL result;
	GetProperty(0x42, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetUndoEnabled(BOOL propVal)
{
	SetProperty(0x42, VT_BOOL, propVal);
}

BOOL CSuperMap::GetRedoEnabled()
{
	BOOL result;
	GetProperty(0x43, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetRedoEnabled(BOOL propVal)
{
	SetProperty(0x43, VT_BOOL, propVal);
}

BOOL CSuperMap::GetCopyEnabled()
{
	BOOL result;
	GetProperty(0x44, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetCopyEnabled(BOOL propVal)
{
	SetProperty(0x44, VT_BOOL, propVal);
}

BOOL CSuperMap::GetCutEnabled()
{
	BOOL result;
	GetProperty(0x45, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetCutEnabled(BOOL propVal)
{
	SetProperty(0x45, VT_BOOL, propVal);
}

BOOL CSuperMap::GetPasteEnabled()
{
	BOOL result;
	GetProperty(0x46, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetPasteEnabled(BOOL propVal)
{
	SetProperty(0x46, VT_BOOL, propVal);
}

BOOL CSuperMap::GetAutoBreak()
{
	BOOL result;
	GetProperty(0x47, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetAutoBreak(BOOL propVal)
{
	SetProperty(0x47, VT_BOOL, propVal);
}

BOOL CSuperMap::GetAutoClip()
{
	BOOL result;
	GetProperty(0x48, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetAutoClip(BOOL propVal)
{
	SetProperty(0x48, VT_BOOL, propVal);
}

BOOL CSuperMap::GetBusyCursorEnabled()
{
	BOOL result;
	GetProperty(0x49, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetBusyCursorEnabled(BOOL propVal)
{
	SetProperty(0x49, VT_BOOL, propVal);
}

long CSuperMap::GetSubAction()
{
	long result;
	GetProperty(0x4a, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetSubAction(long propVal)
{
	SetProperty(0x4a, VT_I4, propVal);
}

BOOL CSuperMap::GetHotKeyEnabled()
{
	BOOL result;
	GetProperty(0x4b, VT_BOOL, (void*)&result);
	return result;
}

void CSuperMap::SetHotKeyEnabled(BOOL propVal)
{
	SetProperty(0x4b, VT_BOOL, propVal);
}

CsoSnapOption CSuperMap::GetSnapOption()
{
	LPDISPATCH pDispatch;
	GetProperty(0x4c, VT_DISPATCH, (void*)&pDispatch);
	return CsoSnapOption(pDispatch);
}

void CSuperMap::SetSnapOption(LPDISPATCH propVal)
{
	SetProperty(0x4c, VT_DISPATCH, propVal);
}

CsoEditHistory CSuperMap::GetEditHistory()
{
	LPDISPATCH pDispatch;
	GetProperty(0x4d, VT_DISPATCH, (void*)&pDispatch);
	return CsoEditHistory(pDispatch);
}

void CSuperMap::SetEditHistory(LPDISPATCH propVal)
{
	SetProperty(0x4d, VT_DISPATCH, propVal);
}

unsigned long CSuperMap::GetTrackingColor()
{
	unsigned long result;
	GetProperty(0x6c, VT_I4, (void*)&result);
	return result;
}

void CSuperMap::SetTrackingColor(unsigned long propVal)

⌨️ 快捷键说明

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