../Msgboard/General customization/All I Want Are My Two Front TeethHome
vvraith - 07 Jan. 2007 - 01:26:

All I Want Are My Two Front Teeth

Who knows how to make a free implementation of AeroGlass on XP? I say if StarDock can do it, someone willing to give their code away for free can do it.
 
10 Jan. 2007 - 12:44 grigri
The really tricky part of glass effects is that you need triple-buffering. Making a glass "window" that is completely inside another of your windows (like buttons on a toolbar, or a webpage) is quite easy, if you're good enough at graphics programming. To make a real window glassy, and interact with the other windows would be really tough... you need to capture an image of what's underneath the window, blur it, then apply other effects. But capturing what's beneath a window is very difficult without hiding the top window, which makes it flicker (like the "transparency" effects for pre-2k windows, they were all slow or flickery).

If you don't need a perfect glass effect, just an "ok" one, then there's an example on psc:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=67560&lngWId=1

It just uses SetLayeredWindowAttributes, but it's better than most attempts I've seen.
 
11 Jan. 2007 - 05:08 vvraith
I don't even need glassy, really. I would just like to make everything that's not menu text, dialog/toolbar icons and application work area semi-transparent.

Thats a great example by the way. I wonder if its possible to make a bbLean plugin, visualstyle trick or external app that can skin all of my windows like that.
 
11 Jan. 2007 - 12:04 grigri
I've not had much (any) experience with visualstyles, and I don't use bb, so for that I'm not sure.

On the other hand, I'm pretty certain that adapting code from a skin app like CustomEyes or ShellVM could do it. You just have to trap the WM_NCPAINT message (and a few other ones) for every window in the system and paint for them. While the codebase for ShellVM (there might be better apps about now, I haven't done this for a while) is quite large and difficult to get to grips with, basic window invasion techniques can be learnt from iconizer (C), and window skinning techniques from the tutorial at VB Accelerator (VB6). Combining the two, as well as the previous example as PSC should get you what you want.

It sounds like quite a challenge, actually. If only I had the time...
 
11 Jan. 2007 - 17:56 vvraith
Thanks much.. Who know, maybe I'll pop out of it with my own skinning app for just this purpose that everyone else can play with.
 
Please log-in to post.
You need to be logged in to post. To log-in, or to register an account go -there.
 
Options
Login | Help | Profile | User list | Display last  
 days 


../Msgboard/General customization/All I Want Are My Two Front TeethTop

xhtml 1.1