本文整理自网络,侵删。
WinAPI: GetWindowTextLength - 获取窗口标题长度//声明:GetWindowTextLength( hWnd: HWND {窗口句柄}): Integer; {返回窗口标题长度}
//举例:var i: Integer;begin i := GetWindowTextLength(Self.Handle); ShowMessage(IntToStr(i));end;
相关阅读 >>
Delphi 10.3 调试程序时出错:unable to create process:请求的操作需要提升
Delphi using windows print spooler to run your file
更多相关阅读请进入《Delphi》频道 >>