📄 cnsdft.odl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -