?? openglactivex.odl
字號(hào):
// OpenGLActiveX.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 (OpenGLActiveX.tlb) that will become a resource in
// OpenGLActiveX.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(687B4EE1-B75E-42F2-A8A4-6ED323F37775), version(1.0),
helpfile("OpenGLActiveX.hlp"),
helpstring("OpenGLActiveX ActiveX Control module"),
control ]
library OPENGLACTIVEXLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for COpenGLActiveXCtrl
[ uuid(B09AB552-BC38-4D39-8A6F-802B0E18DDD6),
helpstring("Dispatch interface for OpenGLActiveX Control"), hidden ]
dispinterface _DOpenGLActiveX
{ // COM對(duì)象
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(COpenGLActiveXCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(COpenGLActiveXCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for COpenGLActiveXCtrl
[ uuid(B688677A-1206-4F96-BD5C-B4701784C1ED),
helpstring("Event interface for OpenGLActiveX Control") ]
dispinterface _DOpenGLActiveXEvents
{ // COM對(duì)象,用于管理控件的事件
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(COpenGLActiveXCtrl)
[id(1)] void LButtonDown(long mFlags, short x, short y);
[id(2)] void InitOpenGL();
[id(3)] void LButtonUp(long m_Flags, short x, short y);
[id(4)] void ReDraw();
[id(5)] void ReSize(short cx, short cy);
[id(6)] void LMouseMove(short x, short y);
//}}AFX_ODL_EVENT
};
// Class information for COpenGLActiveXCtrl
[ uuid(62F94FAE-F38F-4EE1-BBEE-BF56A6B1C3BE),
helpstring("OpenGLActiveX Control"), control ]
coclass OpenGLActiveX
{
[default] dispinterface _DOpenGLActiveX;
[default, source] dispinterface _DOpenGLActiveXEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -