-
December 19th, 2007, 05:59 PM
#1
Back Color of a Control
How would I set the back color of a control of a form? I know it's basic, but I don't know.
-
December 20th, 2007, 07:55 AM
#2
Re: Back Color of a Control
Its basics is that this is the choice of the user when s/he sets the colors in windows control panel.
Do you want to change the color for every button in every application at once by changing the user's settings, or do you want to have just one application with strange buttons?
-
December 20th, 2007, 09:20 AM
#3
Re: Back Color of a Control
Well, no, but in my app, the colors of my controls are off, so, like I have a static with a grey bac, and the form is white, and a button is white. etc.
-
December 21st, 2007, 02:41 AM
#4
Re: Back Color of a Control
To change the background color of child controls displaying text, pick up the WM_CTLCOLORSTATIC message. There's some implementation code around the forums here somewhere, and more info on the related messages for other control aspects on MSDN.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|