RAD Studio VCL Reference
Controls.FindVCLWindow Function

Returns the windowed control, if any, at the specified location.

function FindVCLWindow(const Pos: TPoint): TWinControl;
TWinControl * FindVCLWindow(const TPoint Pos);

Call FindVCLWindow to locate the windowed control under a certain point. For example, use FindVCLWindow to identify the windowed control that is under the mouse from another control that has captured the mouse. The Pos parameter specifies the location that must be over the returned windowed control. If there is no windowed control under the Pos parameter, FindVCLWindow returns nil (Delphi) or NULL (C++). 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!