Vcl.OleCtrls.TOleControl.CanInPlaceActivate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanInPlaceActivate: HResult; stdcall;

C++

HRESULT __stdcall CanInPlaceActivate();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

Checks whether the ActiveX control supports in-place activation.

Call CanInPlaceActivate to determine whether the ActiveX control can be activated in-place. The container of the ActiveX control automatically calls the method when the container must activate the ActiveX control in-place.

Note: As implemented in TOleControl, CanInPlaceActivate always returns S_OK, which means that the ActiveX control can always be activated in-place.

See Also