xp style controls - change color ?

unshaven

Newcomer
Joined
Oct 12, 2004
Messages
10
Location
europe
hi,

I just set my application to using xp style buttons,
but now I can't set the color of a button as I want anymore.
(in the code of my program. it has no effect.)

The outlook that comes with WinXP, however, has loads of controls with colors other than those corresponding to the current color scheme.

How is this done?
Is this all custom stuff or what?

Even more annoying, my menu's screwed up. I have chosen colors for windows, background etc different from standard in the deskop appearance tab, but it seem's I can't change the color of menu backgrounds.
Now, the menu in my program looks mixed. Gray background directly around the menu entries (the color I set buttons to be in desktop appearance, which doesn't work for XP buttons.. they remain white) and the standard white in some other areas of the menu bar.
It looks like crap.

And it's no solution to switch every thing back to default settings.
I obviously can't forbid user's of my software to have non-default color settings for their desktop.... so if I can't fix this behaviour I'm screwed, I don't want my software's GUIs look crappy on some systems.


Any suggestions on how to tackle this?

regards,
unshaven
 
Back
Top