home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
mfc
/
database
/
daoctl
/
control
/
daoedit.odl
< prev
next >
Wrap
Text File
|
1998-03-26
|
2KB
|
80 lines
// DaoEdit.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 (DaoEdit.tlb) that will become a resource in
// DaoEdit.ocx.
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include <olectl.h>
[ uuid(5FDFC3E0-C360-11CE-A987-00AA006EA4DA), version(1.0),
helpstring("DaoEdit OLE Custom Control module"), control ]
library DAOEDITLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CDaoEditCtrl
[ uuid(5FDFC3E1-C360-11CE-A987-00AA006EA4DA),
helpstring("Dispatch interface for DaoEdit Control"), hidden ]
dispinterface _DDaoEdit
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CDaoEditCtrl)
[id(DISPID_TEXT), bindable, requestedit, displaybind, defaultbind] BSTR Text;
[id(0)] BSTR _Text;
[id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
[id(1)] BSTR FieldName;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CDaoEditCtrl)
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CDaoEditCtrl
[ uuid(5FDFC3E2-C360-11CE-A987-00AA006EA4DA),
helpstring("Event interface for DaoEdit Control") ]
dispinterface _DDaoEditEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CDaoEditCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CDaoEditCtrl
[ uuid(5FDFC3E3-C360-11CE-A987-00AA006EA4DA),
helpstring("DaoEdit Control"), control ]
coclass DaoEdit
{
[default] dispinterface _DDaoEdit;
[default, source] dispinterface _DDaoEditEvents;
};
//{{AFX_APPEND_ODL}}
};