Ok, having some serious trouble here. My proffesor told us to write a progrm (what it does really doesnt matter here) however he wants a FULL color menu in the console. He showed us an example of what he wants, it was very cool, it had a red backround, then a giant blue box in the forground with all the menu selections and he even incorparated the little shadown on the bottom right side (looked like a typical dos program menu) He wrote his in assembly language (we dont know that yet) but he said that you can use system(); function with the 'color' command to do the same thing. However, when researching this online, people were saying that it is impossible using color command because you can only change the backround and foreground of the ENTIRE field, not certain areas..... is this true???
hag++
24
Junior Poster
Recommended Answers
Jump to Postsystem( ) calls will probably not do what you want.
To some degree, you can fullfill the task using console commands, like
SetConsoleTextAttribute( )See more here
It's not a …
Jump to PostYour professor is a jerk. (Anyone who would instruct his students to do something before doing it himself the same way students would is a jerk.) Using
system( "color 1B" );
doesn't work -- that modifies the color of the entire console window.Since you are on Windows, …
All 5 Replies
vmanes
1,165
Posting Virtuoso
VilePlecenta
39
Junior Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Duoas
1,025
Postaholic
Featured Poster
hag++
24
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.