D delphi_knight Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-27 #1 假如一个窗口完整标题是‘123.txt - 记事本’,假设我我不知道它的完整标题,<br>只知道’123.txt - ***',能用findwindow找到它的句柄吗?
Y yanyandt2 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-27 #5 用delphi的 winsight32或vc的spy++可以得到
B bigbear01 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-27 #6 procedure TForm1.Button1Click(Sender: TObject);<br>var a:THandle;<br>begin<br> a:=Findwindow('notepad',nil);<br>end;<br>
procedure TForm1.Button1Click(Sender: TObject);<br>var a:THandle;<br>begin<br> a:=Findwindow('notepad',nil);<br>end;<br>