procedure TForm1.image1MouseDown(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
var
TheRect:array [0..1] of TRect
begin
for I :=0 to 1 do
if PtInRect(therect,pt) then application.MessageBox('信息','程序执行确认');
//主要是截取热区图像;
end;