WinAPI: SetWindowText - 设置窗口标题
//声明: SetWindowText( hWnd: HWND; {窗口句柄} lpString: PChar {新标题串指针} ): BOOL; //举例: var s: string; begin s := '新标题'; SetWindowText(Handle, PAnsiChar(s)); end;posted on 2008-02-07 10:48 万一 阅读(10343) 评论(4) 编辑 收藏
2024-03-25 11:21:58
//声明: SetWindowText( hWnd: HWND; {窗口句柄} lpString: PChar {新标题串指针} ): BOOL; //举例: var s: string; begin s := '新标题'; SetWindowText(Handle, PAnsiChar(s)); end;posted on 2008-02-07 10:48 万一 阅读(10343) 评论(4) 编辑 收藏