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

📄 superwkspmanager.cpp

📁 supermap objects 二次开发的vc文件相关的包
💻 CPP
字号:
// 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 "superwkspmanager.h"

/////////////////////////////////////////////////////////////////////////////
// CSuperWkspManager

IMPLEMENT_DYNCREATE(CSuperWkspManager, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CSuperWkspManager properties

BOOL CSuperWkspManager::GetDataTab()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CSuperWkspManager::SetDataTab(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

BOOL CSuperWkspManager::GetMapTab()
{
	BOOL result;
	GetProperty(0x2, VT_BOOL, (void*)&result);
	return result;
}

void CSuperWkspManager::SetMapTab(BOOL propVal)
{
	SetProperty(0x2, VT_BOOL, propVal);
}

BOOL CSuperWkspManager::GetLayoutTab()
{
	BOOL result;
	GetProperty(0x3, VT_BOOL, (void*)&result);
	return result;
}

void CSuperWkspManager::SetLayoutTab(BOOL propVal)
{
	SetProperty(0x3, VT_BOOL, propVal);
}

BOOL CSuperWkspManager::GetResourceTab()
{
	BOOL result;
	GetProperty(0x4, VT_BOOL, (void*)&result);
	return result;
}

void CSuperWkspManager::SetResourceTab(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

long CSuperWkspManager::GetTapLocation()
{
	long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CSuperWkspManager::SetTapLocation(long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

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

void CSuperWkspManager::SetActiveTab(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

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

void CSuperWkspManager::SetSortOrder(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

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

void CSuperWkspManager::SetSenceTab(BOOL propVal)
{
	SetProperty(0xb, VT_BOOL, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CSuperWkspManager operations

BOOL CSuperWkspManager::Connect(LPDISPATCH objSuperworkspace)
{
	BOOL result;
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		objSuperworkspace);
	return result;
}

void CSuperWkspManager::Disconnect()
{
	InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CSuperWkspManager::Refresh()
{
	InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

CsoTreeView CSuperWkspManager::GetTreeView(long nIndex)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
		nIndex);
	return CsoTreeView(pDispatch);
}

void CSuperWkspManager::SetRefTreeView(long nIndex, LPDISPATCH newValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_DISPATCH;
	InvokeHelper(0xc, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
		 nIndex, newValue);
}

void CSuperWkspManager::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

⌨️ 快捷键说明

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