SAMPLE: An ODL File for 16-bit AUTOCLIK SampleLast reviewed: July 22, 1997Article ID: Q132959 |
1.50 1.51 1.52
WINDOWS
kbole kbcode
The information in this article applies to:
SUMMARYAn ODL file is not included with the 16-bit AUTOCLIK sample. Under certain circumstances, you may find it convenient to have one. Copy the following code into AUTOCLIK.ODL in the AUTOCLIK sample project directory. Then use the MKTYPLIB tool to compile it.
MORE INFORMATION
Sample Code
// autoclik.odl : type library source for autoclik.exe // This file will be processed by the Make Type Library (mktyplib) tool to // produce the type library (autoclik.tlb).[ uuid(2106e719-aef8-101a-9005-00dd0108d651), version(1.0) ] library Autoclik { importlib("stdole.tlb"); // Primary dispatch interface for CClikDoc [ uuid(2106e720-aef8-101a-9005-00dd0108d651) ] dispinterface IACLIK { properties: [id(1)] BSTR text; [id(4)] short x; [id(5)] short y; [id(7)] IDispatch* Position; methods: [id(2)] void RefreshWindow(); [id(3)] void SetAllProps(short x, short y, BSTR text); [id(6)] void ShowWindow(); }; // Class information for CClikDoc [ uuid(2106e721-aef8-101a-9005-00dd0108d651) ] coclass CClikDoc { [default] dispinterface IACLIK; }; // Primary dispatch interface for CClikPoint [ uuid(2106e722-aef8-101a-9005-00dd0108d651) ] dispinterface IClikPoint { properties: [id(1)] short x; [id(2)] short y; methods: }; // Class information for CClikPoint [ uuid(2106e723-aef8-101a-9005-00dd0108d651) ] coclass CClikPoint { [default] dispinterface IClikPoint; };};
|
Additional reference words: kbinf 1.50 2.50 1.51 2.51 1.52 2.52
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |