📄 superdigitalclock.odl
字号:
// SuperDigitalClock.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 (SuperDigitalClock.tlb) that will become a resource in
// SuperDigitalClock.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(DF942F35-726A-4E0D-A89E-5FDEA8DAC394), version(1.0),
helpfile("SuperDigitalClock.hlp"),
helpstring("SuperDigitalClock ActiveX Control module"),
control ]
library SUPERDIGITALCLOCKLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CSuperDigitalClockCtrl
[ uuid(0D88D086-6589-428E-AEF3-1EB82DD99A62),
helpstring("Dispatch interface for SuperDigitalClock Control"), hidden ]
dispinterface _DSuperDigitalClock
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CSuperDigitalClockCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CSuperDigitalClockCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CSuperDigitalClockCtrl
[ uuid(CA6CF673-B72B-4B16-87CB-783C6ACCBF88),
helpstring("Event interface for SuperDigitalClock Control") ]
dispinterface _DSuperDigitalClockEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CSuperDigitalClockCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CSuperDigitalClockCtrl
[ uuid(AF3FB796-91FA-4BB2-92FD-F7746E0EACC5),
helpstring("SuperDigitalClock Control"), control ]
coclass SuperDigitalClock
{
[default] dispinterface _DSuperDigitalClock;
[default, source] dispinterface _DSuperDigitalClockEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -