Google Answers Logo
View Question
 
Q: How to change the back ground colour of CWnd ( No Answer,   3 Comments )
Question  
Subject: How to change the back ground colour of CWnd
Category: Computers > Programming
Asked by: sumithra-ga
List Price: $20.00
Posted: 12 Jan 2003 16:25 PST
Expires: 13 Jan 2003 04:55 PST
Question ID: 141861
How do to change the back ground color of the a window that is created
CWnd* pWnd1 = new CWnd; //window 2
		pWnd1->Create(_T("STATIC"), "Progress Bar", WS_BORDER | WS_CHILD |
WS_VISIBLE, CRect(25, 0, 175, 50), this, 1234);//creation of window 2
	
this appears as grey , i want it to be green.

also how to make the progress bar back ground color created as 
CProgressCtrl *progCtrl = new CProgressCtrl;
			int result = progCtrl->Create(WS_VISIBLE|WS_BORDER,
			      CRect(25,125 ,175,175),
			      this, 1); 
be green instead of as grey.
thanka!
-sumi
Answer  
There is no answer at this time.

Comments  
Subject: Re: How to change the back ground colour of CWnd
From: harryh-ga on 12 Jan 2003 16:36 PST
 
Check out http://answers.google.com/answers/main?cmd=threadview&id=139638

I asked a very similar question several days ago.
Some of the responses will probably be useful to you as well.

Now if only I could figure out how to change the color of my Wizard controls....

-Harry
Subject: Re: How to change the back ground colour of CWnd
From: studboy-ga on 13 Jan 2003 00:01 PST
 
Well, looks like we are the only three people here using Visual C++
doing Windows programming :)  Thanks Harry.
Subject: Re: How to change the back ground colour of CWnd
From: studboy-ga on 13 Jan 2003 00:05 PST
 
BTW, just curious--why are you guys so *particular* about the colors?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy