S song188521 Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-27 #1 怎样修改已有应用程序窗体的标题,最好有例子 谢谢!!
S song188521 Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-27 #2 怎样修改已有应用程序窗体的标题,最好有例子 谢谢!!
D delfier Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-27 #3 findwindow('窗体类型名','窗体名称‘),<br>得到handle<br>然后<br>var<br> sCaption:String;<br>begin<br> sCaption:='My Application';<br> SendMessage(Handle,WM_SETTEXT,0,Integer(PChar(sCaption)));<br>end;
findwindow('窗体类型名','窗体名称‘),<br>得到handle<br>然后<br>var<br> sCaption:String;<br>begin<br> sCaption:='My Application';<br> SendMessage(Handle,WM_SETTEXT,0,Integer(PChar(sCaption)));<br>end;
D delfier Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-27 #6 SendMessage(FindWindow(nil,PChar('未定标题 - 记事本')),WM_SETTEXT,0,Integer(PChar('记事本')));<br><br>将新打开的记事本的标题改为“记事本”
SendMessage(FindWindow(nil,PChar('未定标题 - 记事本')),WM_SETTEXT,0,Integer(PChar('记事本')));<br><br>将新打开的记事本的标题改为“记事本”