📄 mwedit.odl
字号:
// MWEdit.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 (MWEdit.tlb) that will become a resource in
// MWEdit.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(54717202-4C3B-11D5-8DC4-0080C8E1F352), version(1.0),
helpfile("MWEdit.hlp"),
helpstring("MWEdit ActiveX Control module"),
control ]
library MWEDITLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CMWEditCtrl
[ uuid(54717203-4C3B-11D5-8DC4-0080C8E1F352),
helpstring("Dispatch interface for MWEdit Control"), hidden ]
dispinterface _DMWEdit
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CMWEditCtrl)
[id(DISPID_READYSTATE), readonly] long ReadyState;
[id(1)] BSTR BufferStr;
[id(2)] long initialsizecx;
[id(3)] long initialsizecy;
[id(4)] long FontWeight;
[id(5)] long FontHeight;
[id(6)] long top;
[id(7)] long bottom;
[id(8)] long left;
[id(9)] long right;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CMWEditCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CMWEditCtrl
[ uuid(54717204-4C3B-11D5-8DC4-0080C8E1F352),
helpstring("Event interface for MWEdit Control") ]
dispinterface _DMWEditEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMWEditCtrl)
[id(DISPID_READYSTATECHANGE)] void ReadyStateChange();
//}}AFX_ODL_EVENT
};
// Class information for CMWEditCtrl
[ uuid(54717205-4C3B-11D5-8DC4-0080C8E1F352),
helpstring("MWEdit Control"), control ]
coclass MWEdit
{
[default] dispinterface _DMWEdit;
[default, source] dispinterface _DMWEditEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -