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

📄 cactivexctrl1.h

📁 Active控件Card调用和自制.rar
💻 H
字号:
#pragma once

// 计算机生成了由 Microsoft Visual C++ 创建的 IDispatch 包装类

// 注意: 不要修改此文件的内容。如果此类由
//  Microsoft Visual C++ 重新生成,您的修改将被改写。

/////////////////////////////////////////////////////////////////////////////
// CAxtivextctrl1 包装类

class CAxtivextctrl1 : public CWnd
{
protected:
	DECLARE_DYNCREATE(CAxtivextctrl1)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xB6F9EA09, 0x8398, 0x4A98, { 0x97, 0x96, 0x24, 0x74, 0xD2, 0x4D, 0x8A, 0xD9 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle,
						const RECT& rect, CWnd* pParentWnd, UINT nID, 
						CCreateContext* pContext = NULL)
	{ 
		return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); 
	}

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, 
				UINT nID, CFile* pPersist = NULL, BOOL bStorage = FALSE,
				BSTR bstrLicKey = NULL)
	{ 
		return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); 
	}

// 属性
public:


// 操作
public:

// _Daxtivext

// Functions
//

	void AboutBox()
	{
		InvokeHelper(DISPID_ABOUTBOX, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
	}

// Properties
//

short Getvalue()
{
	short result;
	GetProperty(0x1, VT_I2, (void*)&result);
	return result;
}
void Setvalue(short propVal)
{
	SetProperty(0x1, VT_I2, propVal);
}
long Getbackground()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}
void Setbackground(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}
short Getbackbmp()
{
	short result;
	GetProperty(0x3, VT_I2, (void*)&result);
	return result;
}
void Setbackbmp(short propVal)
{
	SetProperty(0x3, VT_I2, propVal);
}
long GetCancelPopup()
{
	long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}
void SetCancelPopup(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}
long GetIsMove()
{
	long result;
	GetProperty(0x5, VT_I4, (void*)&result);
	return result;
}
void SetIsMove(long propVal)
{
	SetProperty(0x5, VT_I4, propVal);
}
long GetIsGoHome()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}
void SetIsGoHome(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}


};

⌨️ 快捷键说明

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