本文整理自网络,侵删。
WinAPI: GetWindowTextLength - 获取窗口标题长度//声明:GetWindowTextLength( hWnd: HWND {窗口句柄}): Integer; {返回窗口标题长度}
//举例:var i: Integer;begin i := GetWindowTextLength(Self.Handle); ShowMessage(IntToStr(i));end;
相关阅读 >>
Delphi tmsweb core webhttprequest1提交json数据
Delphi 用idhttp打开网页或下载文件时如何显示进度
Delphi xe5实现按android的back键无法退出关闭程序
更多相关阅读请进入《Delphi》频道 >>