[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 2075

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 inherited TControl.DoDragMsg.

See also

TControl.DoDragMsg

  

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.