下面的程序可以搞定: function GetParentWindowNameAt ( X, Y : integer ) : string; var P : TPoint; W : TWinControl; begin P.X := X; P.Y := Y; W := FindVCLWindow( P ); if( nil <> W ) then Result := W.Name; Result := ''; end;此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/68099.html