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

📄 valueitems.cpp

📁 研究生信息管理系统 基于VC++6.0 MFC 内附ACCESS数据库文件 一个完成工程文件 编译通过后可直接运行 (需装有SP5以上补丁)
💻 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 "valueitems.h"

// Dispatch interfaces referenced by this interface
#include "valueitemdisp.h"


/////////////////////////////////////////////////////////////////////////////
// CValueItems properties

long CValueItems::GetCount()
{
	long result;
	GetProperty(0x7d2, VT_I4, (void*)&result);
	return result;
}

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

void CValueItems::SetPresentation(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

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

void CValueItems::SetTranslate(BOOL propVal)
{
	SetProperty(0x2, VT_BOOL, propVal);
}

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

void CValueItems::SetValidate(BOOL propVal)
{
	SetProperty(0x3, VT_BOOL, propVal);
}

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

void CValueItems::SetCycleOnClick(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

short CValueItems::GetMaxComboItems()
{
	short result;
	GetProperty(0x6, VT_I2, (void*)&result);
	return result;
}

void CValueItems::SetMaxComboItems(short propVal)
{
	SetProperty(0x6, VT_I2, propVal);
}

short CValueItems::GetDefaultItem()
{
	short result;
	GetProperty(0x7, VT_I2, (void*)&result);
	return result;
}

void CValueItems::SetDefaultItem(short propVal)
{
	SetProperty(0x7, VT_I2, propVal);
}

BOOL CValueItems::GetAnnotatePicture()
{
	BOOL result;
	GetProperty(0x8, VT_BOOL, (void*)&result);
	return result;
}

void CValueItems::SetAnnotatePicture(BOOL propVal)
{
	SetProperty(0x8, VT_BOOL, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CValueItems operations

LPUNKNOWN CValueItems::Get_NewEnum()
{
	LPUNKNOWN result;
	InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
	return result;
}

CValueItemDisp CValueItems::GetItem(const VARIANT& Index)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_VARIANT;
	InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
		&Index);
	return CValueItemDisp(pDispatch);
}

void CValueItems::Add(LPDISPATCH vitem)
{
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0x7d5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 vitem);
}

void CValueItems::Remove(const VARIANT& Index)
{
	static BYTE parms[] =
		VTS_VARIANT;
	InvokeHelper(0x7d6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 &Index);
}

void CValueItems::Clear()
{
	InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

⌨️ 快捷键说明

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