Re: Determining Win XP vs. Classic styles

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I don't have "Plus" installed -- I use the stock "silver" theme that shipped
with XP. And that's why I gave you that log -- to try and figure out which
entry, if any, simply said "using themes" or "using classic".

--

Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
----------------------------------------------------------------------------
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
----------------------------------------------------------------------------



"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:N1Vbe.458$pe3.380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
: I see that log is for a Plus! theme, but isn't that
: a different thing?
: I'm not sure if I have my facts straight, but it was my
: impression that that's different from XP style. In other
: words, if I set a green title bar under the "classic" style
: it will be reflected in the Registry and in the return from
: GetSysColor. Likewise, if I set a theme with a purple title
: bar, that's just a set of icons and colors and the purple
: will be in the Registry color settings and in the
: return from GetSysColor. But if I then switch to the XP
: silver style, or the default garish blue with red-orange buttons,
: it's my understanding that that is actually a skin of images
: that doesn't affect the system colors - GetSysColor would
: still return purple or green for title bars even though they'd
: be blue.
: If all of that's true then it seems there should be one or
: two simple Registry values that indicate whether an XP
: style is in effect or whether "classic" style is showing.
:
: (If it's nott true then it shouldn't be difficult to check for
: XP style by just checking for an exact shade of blue, silver
: or olive in the system title bar setting.)
: --
: _____________________________
:
: mayayXXana1a@xxxxxxxxxxxxxxxx
: For return email remove XX and YY.
: _____________________________
: Randy Birch <rgb_removethis@xxxxxxxx> wrote in message
: news:ejVDaetSFHA.3184@xxxxxxxxxxxxxxxxxxxxxxx
: > Drop this into excel ... starting at line 313 are the registry actions
: when
: > the Apply button is pressed in changing XP's display from themed to
: classic.
: > Have fun. :-)
: >
: >
: >
: >
: >
: > --
: >
: > Randy Birch
: > MS MVP Visual Basic
: > http://vbnet.mvps.org/
:
> --------------------------------------------------------------------------
: --
: > Read. Decide. Sign the petition to Microsoft.
: > http://classicvb.org/petition/
:
> --------------------------------------------------------------------------
: --
: >
: >
: >
: > "mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
: > news:C9Dbe.17347$44.10517@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
: > :
: > :
: > : > Most people prefer to use documented features when available instead
: of
: > : > accessing the registry directly.
: > : >
: > : "Documented features"? You mean like the Display
: > : Properties applet? :) I can't imagine the point in fiddling
: > : around with an iffy DLL operation to do what you can do more
: > : easily yourself. I'm sure that the DLL just checks the Registry
: > : anyway.
: > :
: > : There was also another reason for my asking: I was curious
: > : about what the setting might be, once the topic was raised,
: > : because I was thinking it could come in handy with scripting,
: > : to do things like set up the GUI of customized message
: > : boxes. I recently wrote a VBScript to emulate system message
: > : boxes using an IE window. I can get the system default colors
: > : easily but don't know a way to get the theme graphics or
: > : settings in XP. (In VBScript reading the Registry is a very
: > : straightforward operation, while using APIs is usually not
: > : feasible.)
: > :
: > :
: >
:
:

.


Quantcast