Skip to main content
GameDev.net gamedev.net
🔒 Locked

XP Visual Styles

Started by Sandman Apr 24, 2003 at 8:00 AM 2 replies 900+ views
Original Post
Sandman
Sandman
I''m having problems getting the XP visual styles to work in an app i''m working on. I''ve got the basic visual styles thing with the manifest and so on, the problem is with the controls on the window. While any dialogs I create in the resource editor look exactly how they should, any controls I add programmatically come out looking wrong: they have a nasty grey background which stands out against the pale window. This is most obvious on static controls and slider bars, although the drop down part of combo boxes looks wrong as well. I''ve mucked around with functions like DrawThemeBackground and SetBkMode and other similar functions, and I''ve been scouring the MSDN for ideas, but I can''t for the life of me figure out how to get rid of this grey background. Has anyone experienced anything like this?
remi
remi
I recently got helped here with this.

"...and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces."----------Scott Meyers, "Effective C++"
Sandman
Sandman
Thanks for the link. Unfortunately it hasn''t helped, although it did look promising.

I''m really running out of ideas. Why the hell won''t this stupid grey background go away?
daerid
daerid
Could we get a screenshot?
daerid@gmail.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.