[fpc-pascal] windows title

Tomas Hajny XHajT03 at hajny.biz
Thu Feb 6 15:29:32 CET 2014


On Thu, February 6, 2014 15:16, Philippe wrote:
> compiling for targets win32 and win64, I´ld like to change the window
> title, the window opened by cmd.exe
>
> program x;
> uses ?;
> begin
>   yyyyy( 'MY TITLE');
> end.
>
> I didn´t find anything in the windows unit ....

Google suggests that Windows.SetConsoleTitle should do it
(https://www.google.com/search?q=MSDN+change+console+window+title).

Tomas





More information about the fpc-pascal mailing list