你只有在你的Form里搜索一下了.
function tform1.FindControlbyHandle(aHandle:HWND):TWinControl;
var
i:integer;
begin
Result := nil;
for i := 0 to self.ComponentCount - 1 do
if self.Components is TWinControl then
if TWinControl(self.Components).Handle = aHandle then
begin
Result := TWinControl(self.Components);
break;
end;
end;