如何改变一个应用程序的标题??(10分)

  • 主题发起人 主题发起人 findbug
  • 开始时间 开始时间
F

findbug

Unregistered / Unconfirmed
GUEST, unregistred user!
例如,我想改变word的标题,怎么做??各位.谢 .
 
(1)setwindowtext<br>(2)<br>Fexcel := CreateOleObject(Curexcel);<br>&nbsp; &nbsp; &nbsp; Fexcel.DisplayAlerts := False;<br>&nbsp; &nbsp; &nbsp; Fexcel.workbooks.Open(ExtractFilePath(Application.EXEName)+'Chinese Turnover Tax Macro Model (On 1997 Data).xls');<br>&nbsp; &nbsp; &nbsp; Fexcel.caption:='中国流转税宏观模型';<br>&nbsp; &nbsp; &nbsp; Fexcel.Visible := True;<br>&nbsp; &nbsp; &nbsp; Result := True;<br>&nbsp; &nbsp;<br><br>
 
先用FindWindow找到句柄,然后用消息WM_SetText试试
 
这个问题算是最简单的了,先用findwindow找到句柄,然后用setwindowstext()改了,<br>呵,我是第一次来,随便弄一个简单的来回答了<br>
 
同意楼上的
 
后退
顶部