当然不是了!<br>可以获得窗台的标题,如以下的代码;<br>procedure TForm1.Button1Click(Sender: TObject);<br>var str:array [0..19]of char;<br> hwnd:thandle;<br>begin<br> hwnd:=findwindow(nil,pchar('form1'));<br> getwindowtext(hwnd,str,20);<br> edit1.Text:=str;<br>end;<br>运行后文本框中显示的是form1