没什么不妥呀?你开个IE运行下面的程序。<br>你窗口的Handle没找对吧?<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> WinHandle : HWnd;<br> Rect : TRect;<br>begin<br> WinHandle := FindWIndow('IEFrame', nil);<br> GetWindowRect(WinHandle, Rect);<br> Memo1.Lines.Add(IntToStr(Rect.Left));<br> Memo1.Lines.Add(IntToStr(Rect.Top));<br> Memo1.Lines.Add(IntToStr(Rect.Right));<br> Memo1.Lines.Add(IntToStr(Rect.Bottom));<br>end;