lpOleObject Property

       

Returns the address of the object.

Syntax

object.lpOleObject

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

Many function calls in the ActiveX DLLs require the address of an object as an argument. Pass the value specified in the lpOleObject property when making API calls to the ActiveX DLLs. The value is 0 if no object is currently displayed. If a call is made to an API that makes a callback to the OLE container control, the result is unpredictable.

The address returned by this property is a pointer to the lpOleObject interface for the active object.