[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.DoDragMsg

Dispatches a drag message, sent by the DragManager.

Declaration

Source position: controls.pp line 2242

protected function TWinControl.DoDragMsg(

  ADragMessage: TDragMessage;

  APosition: TPoint;

  ADragObject: TDragObject;

  ATarget: TControl;

  ADocking: Boolean

):LRESULT; override;

Description

On dmFindTarget, a TWinControl returns the child control under the mouse, or Self if none is found.

All other messages are handled by the inherited TControl.DoDragMsg method.

See also

TControl.DoDragMsg

  

Handler for a drag message, sent by the DragManager to the current target control.


Version 3.2 Generated 2024-02-25 Home