📄 shenj.odl
字号:
// ShenJ.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 (ShenJ.tlb) that will become a resource in
// ShenJ.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(F5541DA3-ACA9-11D7-9B1A-5254AB129787), version(1.0),
helpfile("ShenJ.hlp"),
helpstring("ShenJ ActiveX Control module"),
control ]
library SHENJLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CShenJCtrl
[ uuid(F5541DA4-ACA9-11D7-9B1A-5254AB129787),
helpstring("Dispatch interface for ShenJ Control"), hidden ]
dispinterface _DShenJ
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CShenJCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CShenJCtrl)
[id(1)] void initdata(short qs1, short cs1, short xx1, double epsl11);
[id(2)] void runmbp();
[id(3)] double returndata();
[id(4)] void getday(short day1);
[id(5)] void getvalue(double vd1);
[id(6)] void getvalue1(double vd1, double vd2, double vd3, double vd4, double vd5);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CShenJCtrl
[ uuid(F5541DA5-ACA9-11D7-9B1A-5254AB129787),
helpstring("Event interface for ShenJ Control") ]
dispinterface _DShenJEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CShenJCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CShenJCtrl
[ uuid(F5541DA6-ACA9-11D7-9B1A-5254AB129787),
helpstring("ShenJ Control"), control ]
coclass ShenJ
{
[default] dispinterface _DShenJ;
[default, source] dispinterface _DShenJEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -