I want to be able to change the entire default console background to the colour green. Many people have posted examples but when I use:
1 2 3 4
|
int main()
{
SetConsoleTextAttribute(
GetStdHandle(STD_OUTPUT_HANDLE), BACKGROUND_GREEN);
| |
This only changes the text background to green not the actual console background, how can I do this?
Last edited on
@Thomas1965 - no that doesn't seem to work.
@Robin53 Care to share your solution, so that others can learn from this thread?
I used system("color 20");