FontCurve.odl
资源名称:fontcurve.rar [点击查看]
上传用户:sz81710966
上传日期:2013-03-01
资源大小:409k
文件大小:2k
源码类别:
多国语言处理
开发平台:
Visual C++
- // FontCurve.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 (FontCurve.tlb) that will become a resource in
- // FontCurve.ocx.
- #include <olectl.h>
- #include <idispids.h>
- [ uuid(3585A12B-FC65-4E6A-A374-03E762C8D269), version(1.0),
- helpfile("FontCurve.hlp"),
- helpstring("FontCurve ActiveX Control module"),
- control ]
- library FONTCURVELib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
- // Primary dispatch interface for CFontCurveCtrl
- [ uuid(680AE108-F7EF-45A1-BFDC-FC29D0FBC65C),
- helpstring("Dispatch interface for FontCurve Control"), hidden ]
- dispinterface _DFontCurve
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CFontCurveCtrl)
- //}}AFX_ODL_PROP
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CFontCurveCtrl)
- [id(1)] void SetBackColor(OLE_COLOR backColor);
- [id(2)] void SetGridLineColor(OLE_COLOR gridlineColor);
- [id(3)] void SetGridColor(OLE_COLOR gridColor);
- [id(4)] void SetGridHoriNum(short horiNum);
- [id(5)] void SetGridVerNum(short verNum);
- [id(6)] void SetGridShowType(short showType);
- [id(7)] void SetGridDrawType(short drawType);
- [id(8)] boolean ShowGridData(BSTR* pInData, short nWidth, short nHeight, short nShowType);
- //}}AFX_ODL_METHOD
- };
- // Event dispatch interface for CFontCurveCtrl
- [ uuid(7E93F453-E502-4F31-B7FF-08B335B6C3A6),
- helpstring("Event interface for FontCurve Control") ]
- dispinterface _DFontCurveEvents
- {
- properties:
- // Event interface has no properties
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CFontCurveCtrl)
- //}}AFX_ODL_EVENT
- };
- // Class information for CFontCurveCtrl
- [ uuid(39CA78CF-ECFE-4E88-8B44-51E960183A22), licensed,
- helpstring("FontCurve Control"), control ]
- coclass FontCurve
- {
- [default] dispinterface _DFontCurve;
- [default, source] dispinterface _DFontCurveEvents;
- };
- //{{AFX_APPEND_ODL}}
- //}}AFX_APPEND_ODL}}
- };