Delphi WinAPI: SetWindowText - 设置窗口标题


本文整理自网络,侵删。

 
WinAPI: SetWindowText - 设置窗口标题
//声明:
SetWindowText(
  hWnd: HWND;     {窗口句柄}
  lpString: PChar {新标题串指针}
): BOOL;


//举例:
var
  s: string;
begin
  s := '新标题';
  SetWindowText(Handle, PAnsiChar(s));
end;

相关阅读 >>

Delphi 查找字符串并删除该字符串

Delphi研究之驱动开发篇(六)--利用section与用户模式程

delph做的百叶窗小程序

Delphi 利用thttpclient实现http异步下载

Delphi playsound(); 停止播放

Delphi 获取含跨域网址的框架网页的源码

Delphi ttabcontrol控件使用

Delphi设计循环播放声音文件程序

Delphi中三种方法获取windows任务栏的高度

Delphi 如何把类中的方法做参数

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...