RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.CanInPlaceActivate Method

Checks whether the ActiveX control supports in-place activation.

Pascal
function CanInPlaceActivate: HResult; stdcall;
C++
__fastcall __stdcall HRESULT CanInPlaceActivate();

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!