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

📄 cell2000.cpp

📁 实现了粗糙集理论的可辨识矩阵的生成
💻 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 "cell2000.h"

/////////////////////////////////////////////////////////////////////////////
// CCell2000

IMPLEMENT_DYNCREATE(CCell2000, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CCell2000 properties

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

void CCell2000::SetBorder(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

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

void CCell2000::SetAllowDragdrop(BOOL propVal)
{
	SetProperty(0x2, VT_BOOL, propVal);
}

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

void CCell2000::SetWorkbookReadonly(BOOL propVal)
{
	SetProperty(0x3, VT_BOOL, propVal);
}

long CCell2000::GetMergecell()
{
	long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetMergecell(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

BOOL CCell2000::GetShowCellTip()
{
	BOOL result;
	GetProperty(0x5, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetShowCellTip(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

long CCell2000::GetNumCellColor()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetNumCellColor(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

long CCell2000::GetStrCellColor()
{
	long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetStrCellColor(long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

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

void CCell2000::SetFormulaCellColor(long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

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

void CCell2000::SetRdonlyCellColor(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

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

void CCell2000::SetWndBkColor(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

long CCell2000::GetSelectedCellColor()
{
	long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetSelectedCellColor(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

BOOL CCell2000::GetCalcManaually()
{
	BOOL result;
	GetProperty(0xc, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetCalcManaually(BOOL propVal)
{
	SetProperty(0xc, VT_BOOL, propVal);
}

BOOL CCell2000::GetProtectFormula()
{
	BOOL result;
	GetProperty(0xd, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetProtectFormula(BOOL propVal)
{
	SetProperty(0xd, VT_BOOL, propVal);
}

long CCell2000::GetCurCellMoveDir()
{
	long result;
	GetProperty(0xe, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetCurCellMoveDir(long propVal)
{
	SetProperty(0xe, VT_I4, propVal);
}

long CCell2000::GetExtendPaste()
{
	long result;
	GetProperty(0xf, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetExtendPaste(long propVal)
{
	SetProperty(0xf, VT_I4, propVal);
}

BOOL CCell2000::GetAllowSizeColInGrid()
{
	BOOL result;
	GetProperty(0x10, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowSizeColInGrid(BOOL propVal)
{
	SetProperty(0x10, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowSizeRowInGrid()
{
	BOOL result;
	GetProperty(0x11, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowSizeRowInGrid(BOOL propVal)
{
	SetProperty(0x11, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowCut()
{
	BOOL result;
	GetProperty(0x12, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowCut(BOOL propVal)
{
	SetProperty(0x12, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowCopy()
{
	BOOL result;
	GetProperty(0x13, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowCopy(BOOL propVal)
{
	SetProperty(0x13, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowPaste()
{
	BOOL result;
	GetProperty(0x14, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowPaste(BOOL propVal)
{
	SetProperty(0x14, VT_BOOL, propVal);
}

long CCell2000::GetP21()
{
	long result;
	GetProperty(0x15, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP21(long propVal)
{
	SetProperty(0x15, VT_I4, propVal);
}

long CCell2000::GetP22()
{
	long result;
	GetProperty(0x16, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP22(long propVal)
{
	SetProperty(0x16, VT_I4, propVal);
}

long CCell2000::GetP23()
{
	long result;
	GetProperty(0x17, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP23(long propVal)
{
	SetProperty(0x17, VT_I4, propVal);
}

long CCell2000::GetP24()
{
	long result;
	GetProperty(0x18, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP24(long propVal)
{
	SetProperty(0x18, VT_I4, propVal);
}

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

void CCell2000::SetP25(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

long CCell2000::GetP26()
{
	long result;
	GetProperty(0x1a, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP26(long propVal)
{
	SetProperty(0x1a, VT_I4, propVal);
}

long CCell2000::GetP27()
{
	long result;
	GetProperty(0x1b, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP27(long propVal)
{
	SetProperty(0x1b, VT_I4, propVal);
}

long CCell2000::GetP28()
{
	long result;
	GetProperty(0x1c, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP28(long propVal)
{
	SetProperty(0x1c, VT_I4, propVal);
}

long CCell2000::GetP29()
{
	long result;
	GetProperty(0x1d, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP29(long propVal)
{
	SetProperty(0x1d, VT_I4, propVal);
}

long CCell2000::GetP30()
{
	long result;
	GetProperty(0x1e, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetP30(long propVal)
{
	SetProperty(0x1e, VT_I4, propVal);
}

BOOL CCell2000::GetAllowExtend()
{
	BOOL result;
	GetProperty(0x1f, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowExtend(BOOL propVal)
{
	SetProperty(0x1f, VT_BOOL, propVal);
}

long CCell2000::GetVScrollWidth()
{
	long result;
	GetProperty(0x20, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetVScrollWidth(long propVal)
{
	SetProperty(0x20, VT_I4, propVal);
}

long CCell2000::GetHScrollHeight()
{
	long result;
	GetProperty(0x21, VT_I4, (void*)&result);
	return result;
}

void CCell2000::SetHScrollHeight(long propVal)
{
	SetProperty(0x21, VT_I4, propVal);
}

BOOL CCell2000::GetAllowDragChart()
{
	BOOL result;
	GetProperty(0x22, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowDragChart(BOOL propVal)
{
	SetProperty(0x22, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowDbClickTopLabel()
{
	BOOL result;
	GetProperty(0x23, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowDbClickTopLabel(BOOL propVal)
{
	SetProperty(0x23, VT_BOOL, propVal);
}

BOOL CCell2000::GetAllowDbClickSideLabel()
{
	BOOL result;
	GetProperty(0x24, VT_BOOL, (void*)&result);
	return result;
}

void CCell2000::SetAllowDbClickSideLabel(BOOL propVal)
{
	SetProperty(0x24, VT_BOOL, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CCell2000 operations

void CCell2000::SetCols(long cols, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x25, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 cols, sheetindex);
}

long CCell2000::GetCols(long sheetindex)
{
	long result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x26, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		sheetindex);
	return result;
}

void CCell2000::SetRows(long rows, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x27, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 rows, sheetindex);
}

long CCell2000::GetRows(long sheetindex)
{
	long result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x28, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		sheetindex);
	return result;
}

void CCell2000::InsertCol(long startcol, long count, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x29, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 startcol, count, sheetindex);
}

void CCell2000::InsertRow(long startrow, long count, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x2a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 startrow, count, sheetindex);
}

void CCell2000::DeleteCol(long startcol, long count, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x2b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 startcol, count, sheetindex);
}

void CCell2000::DeleteRow(long startrow, long count, long sheetindex)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x2c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 startrow, count, sheetindex);
}

void CCell2000::InsertSheet(long start, long counts)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x2d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 start, counts);
}

void CCell2000::DeleteSheet(long start, long count)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x2e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 start, count);
}

void CCell2000::SetCellString(long col, long row, long sheet, LPCTSTR strValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4 VTS_BSTR;
	InvokeHelper(0x2f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 col, row, sheet, strValue);
}

void CCell2000::SetCellDouble(long col, long row, long sheet, double dblValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4 VTS_R8;
	InvokeHelper(0x30, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 col, row, sheet, dblValue);
}

CString CCell2000::GetCellString(long col, long row, long sheet)
{
	CString result;
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x31, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
		col, row, sheet);
	return result;

⌨️ 快捷键说明

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