来自:www 时间:2000-1-15 16:01:45 ID:175813 <br>var<br> aWindow: Hwnd;<br> L_ClassName, L_Content1: array[0..100] of char;<br>begin<br> try<br> aWindow :=findwindow(nil,'窗口名');<br> GetClassName(aWindow, L_ClassName, 100);<br> SendMessage(aWindow, WM_GETTEXT, 100, LongInt(@L_Content1));<br> Edit1.Text := StrPas(L_Content1);<br> except<br> end;<br>Edit1中就是你想要的东西。<br> <br> <br>