1 176347774qq Unregistered / Unconfirmed GUEST, unregistred user! 2005-10-26 #1 怎么得知当前的窗口名字!<br>然后写进Edit1.Text<br>麻烦大家帮帮忙!
1 176347774qq Unregistered / Unconfirmed GUEST, unregistred user! 2005-10-26 #2 怎么得知当前的窗口名字!<br>然后写进Edit1.Text<br>麻烦大家帮帮忙!
D Defo_XYF Unregistered / Unconfirmed GUEST, unregistred user! 2005-10-27 #3 var<br> HWND:Thandle;<br> Name;PChar;<br>begin<br> HWND:=GetForegroundWindow();//获得当前窗体的句柄<br> GetWindowText(HWND,Name,20);//获得名字<br> Label1.caption := String(Name);//显示<br>end;
var<br> HWND:Thandle;<br> Name;PChar;<br>begin<br> HWND:=GetForegroundWindow();//获得当前窗体的句柄<br> GetWindowText(HWND,Name,20);//获得名字<br> Label1.caption := String(Name);//显示<br>end;