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

📄 mfcaasvr.cpp

📁 教你怎么用VC++做ActiveX控件
💻 CPP
字号:
// Machine generated IDispatch wrapper class(es) created with ClassWizard

#include "stdafx.h"
#include "mfcaasvr.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif



/////////////////////////////////////////////////////////////////////////////
// IAxCircle properties

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

void IAxCircle::SetRadius(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

short IAxCircle::GetRed()
{
	short result;
	GetProperty(0x2, VT_I2, (void*)&result);
	return result;
}

void IAxCircle::SetRed(short propVal)
{
	SetProperty(0x2, VT_I2, propVal);
}

short IAxCircle::GetGreen()
{
	short result;
	GetProperty(0x3, VT_I2, (void*)&result);
	return result;
}

void IAxCircle::SetGreen(short propVal)
{
	SetProperty(0x3, VT_I2, propVal);
}

short IAxCircle::GetBlue()
{
	short result;
	GetProperty(0x4, VT_I2, (void*)&result);
	return result;
}

void IAxCircle::SetBlue(short propVal)
{
	SetProperty(0x4, VT_I2, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// IAxCircle operations

void IAxCircle::DrawCircle(long lDC)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 lDC);
}

⌨️ 快捷键说明

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