Back to Devexpress

TdxZone.GetResizingSelection(TPoint) Method

vcl-dxdockcontrol-dot-tdxzone-dot-getresizingselection-x28-system-dot-types-dot-tpoint-x29.md

latest1.7 KB
Original Source

TdxZone.GetResizingSelection(TPoint) Method

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

Declaration

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

Parameters

NameType
ptTPoint

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

TdxCustomDockControl.OnCustomDrawResizingSelection

TdxDockingManager.OnCustomDrawResizingSelection

Resize Zones

TdxZone Class

TdxZone Members

dxDockControl Unit