Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxZone.GetResizingSelection(TPoint) Method

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

#Declaration

Delphi
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