Vcl.OleCtrls.TOleControl.GetBorder

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBorder(out rectBorder: TRect): HResult; stdcall;

C++

HRESULT __stdcall GetBorder(/* out */ System::Types::TRect &rectBorder);

Properties

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

Description

Returns the rectangle in which the ActiveX control can draw toolbars.

Call GetBorder to receive the rectangle in which the ActiveX control can draw custom controls, such as toolbars. The drawn controls are only visible when the container is in place mode.

See Also