WindowTitle

Sets the program window title

Syntax
	KeyPgDeclareDeclare KeyPgSubSub WindowTitle ( KeyPgByrefByRef title KeyPgAsAs KeyPgConstQualifierConst KeyPgStringString )

Usage
	WindowTitle title

Parameters
	title
		the string to be assigned as new window title.

Description
	This statement is useful to change the program window title. The new 
	title set will become active immediately if the program already runs in 
	windowed mode, otherwise will become the new title for any window 
	produced by subsequent calls to the KeyPgScreengraphicsScreen (Graphics) or KeyPgScreenresScreenRes 
	statement. If this function is not called before setting a new windowed 
	mode via KeyPgScreengraphicsScreen (Graphics) or KeyPgScreenresScreenRes, the program window will use the 
	executable file name (without the extension) as title by default.
	This command has no effect in consoles.

Example
	'Set screen mode 
	Screen 13

	'Set the window title
	WindowTitle "FreeBASIC example program"

	Sleep

Platform Differences
	* Not present in DOS version / target of FreeBASIC

Dialect Differences
	* Not available in the CompilerOptlang-lang qb dialect unless referenced with the 
	  alias __Windowtitle.

Differences from QB
	* New to FreeBASIC

See also
	* KeyPgScreencontrolScreenControl (function SET_WINDOW_TITLE or GET_WINDOW_TITLE)
	* KeyPgScreengraphicsScreen (Graphics)
	* KeyPgScreenresScreenRes

