cnsdft.odl

来自「地理信息共享:读写中国地球空间数据交换格式源码2」· ODL 代码 · 共 79 行

ODL
79
字号
// CNSDFT.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 (CNSDFT.tlb) that will become a resource in
// CNSDFT.ocx.

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

[ uuid(33594095-39E4-11D5-B912-0000E86BCC9F), version(1.0),
  helpfile("CNSDFT.hlp"),
  helpstring("CNSDFT ActiveX Control module"),
  control ]
library CNSDFTLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CCNSDFTCtrl

	[ uuid(33594096-39E4-11D5-B912-0000E86BCC9F),
	  helpstring("Dispatch interface for CNSDFT Control"), hidden ]
	dispinterface _DCNSDFT
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CCNSDFTCtrl)
			[id(DISPID_READYSTATE), readonly] long ReadyState;
			[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
			[id(1)] BSTR InputFilename;
			[id(2)] BSTR OutFilename;
			[id(3)] long InputFormat;
			[id(4)] long OutFormat;
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CCNSDFTCtrl)
			[id(5)] void ReadData();
			[id(6)] void WriteData();
			//}}AFX_ODL_METHOD

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

	//  Event dispatch interface for CCNSDFTCtrl

	[ uuid(33594097-39E4-11D5-B912-0000E86BCC9F),
	  helpstring("Event interface for CNSDFT Control") ]
	dispinterface _DCNSDFTEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CCNSDFTCtrl)
			[id(DISPID_READYSTATECHANGE)] void ReadyStateChange();
			//}}AFX_ODL_EVENT
	};

	//  Class information for CCNSDFTCtrl

	[ uuid(29FC7776-37D7-11D5-B909-0000E86BCC9F),
	  helpstring("CNSDFT Control"), control ]
	coclass CNSDFT
	{
		[default] dispinterface _DCNSDFT;
		[default, source] dispinterface _DCNSDFTEvents;
	};


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

⌨️ 快捷键说明

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