Vcl.OleCtrls.TOleControl.GetContainer
Delphi
function GetContainer(out container: IOleContainer): HResult; stdcall;
C++
HRESULT __stdcall GetContainer(/* out */ _di_IOleContainer &container);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Returns a pointer to an IOleClientSite OLE interface.
Use GetContainer to obtain a pointer to an IOleClientSite OLE interface implemented by this TOleControl.