📄 mfccontrol.odl
字号:
// MFCControl.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 (MFCControl.tlb) that will become a resource in
// MFCControl.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(2BDA30C3-F5F4-11D1-AF64-00C06D17A580), version(1.0),
helpfile("MFCControl.hlp"),
helpstring("MFCControl ActiveX Control module"),
control ]
library MFCCONTROLLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CMFCControlWinCtrl
[ uuid(2BDA30C4-F5F4-11D1-AF64-00C06D17A580),
helpstring("Dispatch interface for MFCControlWin Control"), hidden ]
dispinterface _DMFCControlWin
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CMFCControlWinCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CMFCControlWinCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CMFCControlWinCtrl
[ uuid(2BDA30C5-F5F4-11D1-AF64-00C06D17A580),
helpstring("Event interface for MFCControlWin Control") ]
dispinterface _DMFCControlWinEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMFCControlWinCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CMFCControlWinCtrl
[ uuid(2BDA30C6-F5F4-11D1-AF64-00C06D17A580),
helpstring("MFCControlWin Control"), control ]
coclass MFCControlWin
{
[default] dispinterface _DMFCControlWin;
[default, source] dispinterface _DMFCControlWinEvents;
};
// Primary dispatch interface for CMFCControlNoWinCtrl
[ uuid(2BDA30C8-F5F4-11D1-AF64-00C06D17A580),
helpstring("Dispatch interface for MFCControlNoWin Control"), hidden ]
dispinterface _DMFCControlNoWin
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CMFCControlNoWinCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CMFCControlNoWinCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CMFCControlNoWinCtrl
[ uuid(2BDA30C9-F5F4-11D1-AF64-00C06D17A580),
helpstring("Event interface for MFCControlNoWin Control") ]
dispinterface _DMFCControlNoWinEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMFCControlNoWinCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CMFCControlNoWinCtrl
[ uuid(2BDA30CA-F5F4-11D1-AF64-00C06D17A580),
helpstring("MFCControlNoWin Control"), control ]
coclass MFCControlNoWin
{
[default] dispinterface _DMFCControlNoWin;
[default, source] dispinterface _DMFCControlNoWinEvents;
};
// Primary dispatch interface for CMFCControlSubWinCtrl
[ uuid(2BDA30CC-F5F4-11D1-AF64-00C06D17A580),
helpstring("Dispatch interface for MFCControlSubWin Control"), hidden ]
dispinterface _DMFCControlSubWin
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CMFCControlSubWinCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CMFCControlSubWinCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CMFCControlSubWinCtrl
[ uuid(2BDA30CD-F5F4-11D1-AF64-00C06D17A580),
helpstring("Event interface for MFCControlSubWin Control") ]
dispinterface _DMFCControlSubWinEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMFCControlSubWinCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CMFCControlSubWinCtrl
[ uuid(2BDA30CE-F5F4-11D1-AF64-00C06D17A580),
helpstring("MFCControlSubWin Control"), control ]
coclass MFCControlSubWin
{
[default] dispinterface _DMFCControlSubWin;
[default, source] dispinterface _DMFCControlSubWinEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -