Mirco visual c++

I dont know what to say in the title, because i dont know what to explain

i am using microsoft visual.
i need to color the cmd window that i know how to do.
the thing is that i need to create a box in cmd window like the background
is one color and the box inside should have different color also the box can contain words and input.
i cant find any websites that cann show me how to do this.
i dont know how to explain but if i can post a picture that would help me to explain much better.

Thank You
Make sure to start a Console Application project.
Make sure to #include <windows.h> at the top of your code.

Use GetStdHandle() to get the console output handle.
Use SetConsoleTextAttribute() to change the color.
Use SetConsoleCursorPosition() to place the cursor at a specific location on the screen.

http://www.google.com/search?btnI=1&q=msdn+GetStdHandle
http://www.google.com/search?btnI=1&q=msdn+SetConsoleTextAttribute
http://www.google.com/search?btnI=1&q=msdn+SetConsoleCursorPosition

If you want, use the following to clear the screen
http://www.cplusplus.com/forum/articles/10515/#msg49080

Good luck!
Topic archived. No new replies allowed.