WinAPI: SetWindowText 设置窗口标题

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

//举例: var s: string; begin s := '新标题'; SetWindowText(Handle, PAnsiChar(s)); end;
原文地址:https://www.cnblogs.com/del/p/1065628.html