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

FindLCLWindow

Find the window and its owning control at the given screen coordinates.

Declaration

Source position: controls.pp line 2555

function FindLCLWindow(

  const ScreenPos: TPoint;

  AllowDisabled: Boolean = True

):TWinControl;

Function result

The control at the ScreenPos; Nil if none was found.