DRAWPIC.ODL
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- // DrawPic.odl : type library source for OLE Control project.
- // This file will be processed by the Make Type Library (mktyplib) tool to
- // produce the type library (DrawPic.tlb) that will become a resource in
- // DrawPic.ocx.
- #include <olectl.h>
- [ uuid(57F5A420-A324-11CF-B4A4-444553540000), version(1.0),
- helpstring("DrawPic OLE Control module"), control ]
- library DRAWPICLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
- // Primary dispatch interface for CDrawPicCtrl
- [ uuid(57F5A421-A324-11CF-B4A4-444553540000),
- helpstring("Dispatch interface for DrawPic Control"), hidden ]
- dispinterface _DDrawPic
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CDrawPicCtrl)
- //}}AFX_ODL_PROP
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CDrawPicCtrl)
- [id(1)] boolean AddPicture(IPictureDisp* NewPic);
- [id(2)] void ClearImageList();
- //}}AFX_ODL_METHOD
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
- // Event dispatch interface for CDrawPicCtrl
- [ uuid(57F5A422-A324-11CF-B4A4-444553540000),
- helpstring("Event interface for DrawPic Control") ]
- dispinterface _DDrawPicEvents
- {
- properties:
- // Event interface has no properties
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CDrawPicCtrl)
- //}}AFX_ODL_EVENT
- };
- // Class information for CDrawPicCtrl
- [ uuid(57F5A423-A324-11CF-B4A4-444553540000),
- helpstring("DrawPic Control"), control ]
- coclass DrawPic
- {
- [default] dispinterface _DDrawPic;
- [default, source] dispinterface _DDrawPicEvents;
- };
- //{{AFX_APPEND_ODL}}
- };