Click here to Skip to main content
16,011,685 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,
I have been trying to print 4 different windows of same size on a terminal using curses library. But I would like to print four windows with different back ground colors. But when i try to do it....I get the same color for all the 4 windows.
Can you please suggest me a way to do it.

Regards,
Posted
Comments
Sergey Alexandrovich Kryukov 29-Apr-12 8:53am    
What "I try to do it" means? To me, it would mean something if you show some code sample -- a couple of line would do...
--SA
ZurdoDev 30-Apr-12 11:31am    
Please provide some code samples, otherwise, how could we tell you what you are doing wrong?

Have you tried wbkgdset(win,color)?
 
Share this answer
 
One of these[^] suggestions perhaps?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900