mfcaasvr.odl

来自「教你怎么用VC++做ActiveX控件」· ODL 代码 · 共 50 行

ODL
50
字号
// MfcAASvr.odl : type library source for MfcAASvr.dll

// This file will be processed by the MIDL compiler to produce the
// type library (MfcAASvr.tlb).

[ uuid(923318C4-5DAB-11D4-A54D-0050BADB14A3), version(1.0) ]
library MfcAASvr
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");




	//  Primary dispatch interface for CAxCircle
	
	[ uuid(0D9C9261-5E70-11D4-A54D-0050BADB14A3) ]
	dispinterface IAxCircle
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CAxCircle)
			[id(1)] long Radius;
			[id(2)] short Red;
			[id(3)] short Green;
			[id(4)] short Blue;
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CAxCircle)
			[id(5)] void DrawCircle(long lDC);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CAxCircle

	[ uuid(0D9C9262-5E70-11D4-A54D-0050BADB14A3) ]
	coclass AxCircle
	{
		[default] dispinterface IAxCircle;
	};

	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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