Thanks for the feedback, This is a nice broad way to change the colors at the system level. What I am looking for is a Win32 library variable I can set to change the theme for just my application. That way I can set global color settings for my whole application without having to assing colors to individual components.
Or in the case of Tk::Frame (and possibly some others) where I have not figured out how to set colors (not documented).... Come on gang, keep the ideas coming! On Tue, April 25, 2006 6:49 am, Veli-Pekka Tätilä wrote: > Eric Nichols wrote: >> Tab::Frame seems to rely on the OS settings for window color. Can the >> default colors/fonts be modified in a global sense? > > Hi, > While I don't know Win32::GUI all that well just yet, it would seem likely > the current system color scheme can be modified in the registry. SOme apps, > such as display set, do jjust this. URL: > > http://www.pcmag.com/article2/0,1895,31114,00.asp > > By the way, if they'll still require you to subscribe for downloads, I have > the old free version that used to be available on the site. I can send it to > you off-list, if you'd like. > > Anyway, you could monitor what displayset actually does using Sysinternal's > regmon: > > http://www.sysinternals.com/Utilities/Regmon.html > > Lastly, I'd like to remind you that the solution is at best still a hack, > I'd say. As far as I know most windows in Win32 let you toggle their colors > individually, without having to deliberately disrespect the user's color > preferences temporarily in all open applications. It will get you into > trouble sooner or later. Hard-coded black text is a classic one and I know > many sighted and sight-impaired people who prefer seriously off-white window > colors e.g. yellow or gray. Further more, there are some inverse standard > schemes with white window text, which further complicates matters. > Highconttrast Black comes to mind very first. See your control panel's > display applet for a demonstration. > > Well if accessibility or general user-convenience is not an issue, then the > solution is fine I guess. But I just posted to say that it is far ffrom > optimal, from the user point of view. Hope the tip about display set might > be helpful, too. > > -- > With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED]) > Accessibility, game music, synthesizers and programming: > http://www.student.oulu.fi/~vtatila/ >