Citation:
public class OleControlSite
extends OleClientSite
OleControlSite provides a site to manage an embedded ActiveX Control within a container.
In addition to the behaviour provided by OleClientSite, this object provides the following:
* events from the ActiveX control
* notification of property changes from the ActiveX control
* simplified access to well known properties of the ActiveX Control (e.g. font, background color)
* expose ambient properties of the container to the ActiveX Control
This object implements the OLE Interfaces IOleControlSite, IDispatch, and IPropertyNotifySink.
Note that although this class is a subclass of Composite, it does not make sense to add Control children to it, or set a layout on it.
un exemple avec flash ici