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

📄 stockcontrol.odl

📁 股票控件activx源代码,实现了K线图等技术指标
💻 ODL
字号:
// StockControl.odl : type library source for ActiveX Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (StockControl.tlb) that will become a resource in
// StockControl.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(817B01CE-CB38-45EB-AD27-814951F43C76), version(1.0),
  helpfile("StockControl.hlp"),
  helpstring("StockControl ActiveX Control module"),
  control ]
library STOCKCONTROLLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CStockControlCtrl

	[ uuid(1BB07A08-9605-4975-9BE0-641821C1E9D5),
	  helpstring("Dispatch interface for StockControl Control"), hidden ]
	dispinterface _DStockControl
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CStockControlCtrl)
			[id(1)] short Action;
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CStockControlCtrl)
			[id(2)] void LoadKLines(BSTR sFileName);
			//}}AFX_ODL_METHOD

			[id(DISPID_ABOUTBOX)] void AboutBox();
	};

	//  Event dispatch interface for CStockControlCtrl

	[ uuid(FB9AF3FB-C2F1-436F-9401-EF45F488B572),
	  helpstring("Event interface for StockControl Control") ]
	dispinterface _DStockControlEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CStockControlCtrl)
			//}}AFX_ODL_EVENT
	};

	//  Class information for CStockControlCtrl

	[ uuid(D810D9C5-475C-4F5D-818E-E2840B9CBB54),
	  helpstring("StockControl Control"), control ]
	coclass StockControl
	{
		[default] dispinterface _DStockControl;
		[default, source] dispinterface _DStockControlEvents;
	};


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

⌨️ 快捷键说明

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