Click to See Complete Forum and Search --> : Group Box


lyar1031
December 11th, 2003, 04:27 PM
Do you know if .Net automatically sets the Text Color of the Caption to BLUE when you implement a group box. I know in 6.0 the default Color is BLACK. When I made aa new App from .Net the group box Caption was text color was BLUE

Thanks

malg
December 13th, 2003, 05:27 PM
Well I do not think so. I am using c++.net2003 and the color in my group boxes is black. But you can always change the color of the caption to your specifications.

Malg

darwen
December 18th, 2003, 11:00 AM
These are the new XP styles - your buttons etc will have changed too.

If you change your XP to having a boring old standard windows classic theme then you'll see your group boxes go back to what you're used to.

Visual C++ 6 didn't have access to these features because it couldn't do manifests.

Darwen.

vicodin451
December 18th, 2003, 12:19 PM
Originally posted by darwen
These are the new XP styles - your buttons etc will have changed too.

If you change your XP to having a boring old standard windows classic theme then you'll see your group boxes go back to what you're used to.

Visual C++ 6 didn't have access to these features because it couldn't do manifests.

Darwen.
You can add a manifest as a resource to a VC++ 6.0 project, so that projects built with 6.0 are able to take advantage of the XP styles. I believe you have to add a custom resource, and it shows up as something like type "28" in the resource editor when you're done.
If someone wants the exact steps and doesn't want to search the web ( :) ), I can post back in about 2 weeks... <g>

darwen
December 18th, 2003, 04:29 PM
I thought you might be able to but when I followed the steps in VC.NET it didn't work so I wasn't sure.

Thanks for correcting me.

Darwen.