Next Previous Up Top Contents Index

7.3 The OLE-CONTROL-FRAMEWORK module

container-IDispatch

Function

Summary

Returns the container's IDispatch interface pointer.

Signature

container-IDispatch obj => idisp 

Arguments

obj
An instance of your subclass of <ole-server-framework>.

Values

idisp
An instance of <LPDISPATCH>, page 196.

Library

OLE-Control-Framework

Module

OLE-Control-Framework

Description

Returns the container's IDispatch interface pointer. (This is just a slot accessor -- it does not call AddRef on the returned value.) If not null, this can be used as the first argument to get-property (from the OLE-Automation library, see page 218) to obtain the current values of ambient properties from the container. The pointer may be null if the container does not support ambient properties or if this is called before the control is fully initialized.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index