How to Pass One OLE Control to Another (153570)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q153570 SUMMARY
It is possible to pass an OLE Automation Object as a parameter to a method
of a custom OLE control (.OCX). To do this, declare the OCX method to take
a parameter of type IDispatch *. An OLE control is essentially an OLE
Automation Object, so you can then pass one OLE Control to another using
this technique.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | KB153570 |
---|
|