home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Building OCXs
/
Building_OCXs_Que_1995.iso
/
code
/
ch04
/
quote.odl
< prev
next >
Wrap
Text File
|
1994-12-18
|
2KB
|
72 lines
// quote.odl : type library source for OLE Custom Control project.
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (quote.tlb) that will become a resource in
// quote.ocx.
#include <olectl.h>
[ uuid(7C647083-F1CB-101B-81EC-B23169424630), version(1.0),
helpstring("Quote OLE Custom Control module") ]
library QuoteLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CQuoteCtrl
[ uuid(7C647081-F1CB-101B-81EC-B23169424630),
helpstring("Dispatch interface for Quote Control") ]
dispinterface _DQuote
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CQuoteCtrl)
[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
[id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
[id(DISPID_FONT), bindable] IFontDisp* Font;
[id(1)] boolean ShowAuthor;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CQuoteCtrl)
[id(DISPID_DOCLICK)] void DoClick();
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CQuoteCtrl
[ uuid(7C647082-F1CB-101B-81EC-B23169424630),
helpstring("Event interface for Quote Control") ]
dispinterface _DQuoteEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CQuoteCtrl)
[id(DISPID_DBLCLICK)] void DblClick();
//}}AFX_ODL_EVENT
};
// Class information for CQuoteCtrl
[ uuid(7C647080-F1CB-101B-81EC-B23169424630), licensed,
helpstring("Quote Control") ]
coclass Quote
{
[default] dispinterface _DQuote;
[default, source] dispinterface _DQuoteEvents;
};
//{{AFX_APPEND_ODL}}
};