I've been searching the web, aswell as a few books, on how to change the title and text color in a Win32 Console Application.
I'm pretty sure it can be done.As I'm sure i've seen an example of it somewhere... Just cant remember where...!
Printable View
I've been searching the web, aswell as a few books, on how to change the title and text color in a Win32 Console Application.
I'm pretty sure it can be done.As I'm sure i've seen an example of it somewhere... Just cant remember where...!
For coloring, call GetStdHandle(STD_OUTPUT_HANDLE) to obtain the handle to your console. Then you can call SetConsoleTextAttribute to change foreground color, background color, etc.
Changing the titlebar is trickier. You'll need to find the HWND of the console window and call SetWindowText, unless there's an easier way.
Cool, Thansk sunburnt