Skip to main content

TdxZone.GetResizingSelection(TPoint) Method

Returns the bounding rectangle of a dock control’s resizing bar.

Declaration

function GetResizingSelection(pt: TPoint): TRect; virtual;

Parameters

Name Type
pt TPoint

Returns

Type
TRect

Remarks

The pt parameter represents the mouse pointer coordinates relatively to the upper-left corner of the screen. If horizontal resizing is performed, the horizontal coordinate of the specified point is used to calculate the resizing bar’s position.

The rectangle returned by the GetResizingSelection method is expressed in screen coordinates.

Note

To manually paint resizing bars, handle the OnCustomDrawResizingSelection event of the desired dock control or the OnCustomDrawResizingSelection event of the docking manager.

See Also