Visual Styles Engine not so "native" afterall?
Tuesday, January 8, 2002 by Frogboy | Discussion: WinCustomize Talk
On Windows XP, WindowBlinds is able to use the new APIs in uxtheme.dll to skin Windows. We did this because we *thought* that this would make it more compatible and faster.
But we discovered today that the Windows XP visual style engine (drum roll) uses API HOOKS to do its things. Remember how certain advocates of a certain patch have made a big deal that WindowBlinds uses system hooks? And as a result, we're not as "native" as visual styles? Turns out, visual styles are doing the same thing - system hooks. EVERY PROCESS on XP that is skinned by XP has uxtheme.dll tied to it.
Let me be clear: If you run visual styles on Windows XP, every program that is "skinned" by it gets a full copy of uxtheme.dll copied into memory via a system hook (just like if you run WindowBlinds you get a copy of wblind.dll copied into that process's memory).
What this also means is that anyone who criticizes WindowBlinds for using system hooks and uses that as a reason to boost visual styles is either being dishonest or doesn't understand how visual styles actually work. It is, frankly, very surprising that Microsoft, with access to the Windows source code one presumes, would implement it in this way.
Now obviously, since WindowBlinds works much the same way, I'm not going to condemn it. System hooks were designed so that third parties could integrate their software with the system with a minimal impact. It's just that MS isn't a third party. And that anti-WindowBlinds people have used the SetWindowsHookEx (system hooks in general) as a blunt instrument on it when all the time visual styles uses a nearly identical hook and attaches the entire uxtheme.dll to each and every process that it skins.
In short, visual styles are most definitely no more "native" than WindowBlinds. It's just bundled. Any third party could have done (and has done in the form of WB) the same exact thing without access to the source code of Windows.
Reply #2 Tuesday, January 8, 2002 4:12 PM
It's just staggering that Microsoft, who has the source code to Windows (maybe?) would implement their visual styles in this way.
It would not be much of an exageration to say that the only difference between WindowBlinds and MS visual styles are the skin formats they support and hence the advantages and disavantages of each are what matter.
BTW, for any independent third party that wants to look at this, download a program that allows you to look at the modules that are loaded when you start a process. YOu'll see that uxtheme.dll is hooked into every one that is skinned by XP.
Reply #3 Tuesday, January 8, 2002 6:14 PM

Reply #4 Wednesday, January 9, 2002 4:26 AM
Reply #5 Wednesday, January 9, 2002 9:10 AM
so does this mean that someone can argue that WB is still making a heavier demand than XP skining?
it sounds like XP adds this dll to every skinned process. but WB3 uses this dll, plus its own, so it adds a greater load to every process.
feline gets board of the devil

not having XP, this is basically academic to me, but still very amusing

perhaps microsoft did it this way to encpsulate their skinning, and to keep it away from windows. remember, they are supposed to have admited that it contains "literally hundreds" of bugs. doesnt sound like something i would want to link in to tightly to the OS.
Reply #6 Wednesday, January 9, 2002 11:47 AM
Reply #7 Wednesday, January 9, 2002 12:16 PM
later stages are even more terrifying!
Reply #8 Wednesday, January 9, 2002 2:46 PM
Reply #9 Thursday, January 10, 2002 10:29 AM
for the second time today all my windows title bars and borders, along with half the content, have just disapeared from the screen.
running out of resorces on win98 all the time just isnt healthy!
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Tuesday, January 8, 2002 3:50 PM
Just curious.