ConsoleApplication and SetWindowTitleA

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Stefan Schnell
User
User
Posts: 85
Joined: Wed May 07, 2003 2:53 pm
Location: Germany - Oberirsen
Contact:

ConsoleApplication and SetWindowTitleA

Post by Stefan Schnell »

Hello Fred, hello community,
is it possible to change the console module, so it does not use the API call SetWindowTitleA?
A simple console application:

Code: Select all

OpenConsole()
Print("Hello World")
Inkey()
CloseConsole()
End
You see I do not use ConsoleTitle and the application use the API call SetWindowTitleA.
Background: I want to create real mode DOS applications with WDOS, and WDOS does not support the API call SetWindowTitleA.
Maybe a solution can be an optional switch, to set the console window title automatic or not (OpenConsole(0), OpenConsole() = OpenConsole(1)).
Bye
Stefan