📄 jpgshowctl.odl
字号:
// JpgShowCtl.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 (JpgShowCtl.tlb) that will become a resource in
// JpgShowCtl.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(747A7178-99DA-4CAC-894F-7955FF241FEF), version(1.0),
helpfile("JpgShowCtl.hlp"),
helpstring("JpgShowCtl ActiveX Control module"),
control ]
library JPGSHOWCTLLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CJpgShowCtlCtrl
[ uuid(CCCFAFD1-6B70-4523-848E-744E31CC227B),
helpstring("Dispatch interface for JpgShowCtl Control"), hidden ]
dispinterface _DJpgShowCtl
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CJpgShowCtlCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CJpgShowCtlCtrl)
[id(1)] void ShowFileName(BSTR strFileName);
[id(2)] void Erase();
[id(3)] void SetBorderColor(OLE_COLOR borderColor);
//}}AFX_ODL_METHOD
};
// Event dispatch interface for CJpgShowCtlCtrl
[ uuid(FB22D2AA-235B-451C-9CA6-054F2D40065B),
helpstring("Event interface for JpgShowCtl Control") ]
dispinterface _DJpgShowCtlEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CJpgShowCtlCtrl)
[id(1)] void DoubleMouse();
//}}AFX_ODL_EVENT
};
// Class information for CJpgShowCtlCtrl
[ uuid(8BA321D6-EAEA-4B51-A597-5FE52FA22E85),
helpstring("JpgShowCtl Control"), control ]
coclass JpgShowCtl
{
[default] dispinterface _DJpgShowCtl;
[default, source] dispinterface _DJpgShowCtlEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -