IanG on Tap

Ian Griffiths in Weblog Form (RSS 2.0)

Blog Navigation

April (2018)

(1 item)

August (2014)

(1 item)

July (2014)

(5 items)

April (2014)

(1 item)

March (2014)

(1 item)

January (2014)

(2 items)

November (2013)

(2 items)

July (2013)

(4 items)

April (2013)

(1 item)

February (2013)

(6 items)

September (2011)

(2 items)

November (2010)

(4 items)

September (2010)

(1 item)

August (2010)

(4 items)

July (2010)

(2 items)

September (2009)

(1 item)

June (2009)

(1 item)

April (2009)

(1 item)

November (2008)

(1 item)

October (2008)

(1 item)

September (2008)

(1 item)

July (2008)

(1 item)

June (2008)

(1 item)

May (2008)

(2 items)

April (2008)

(2 items)

March (2008)

(5 items)

January (2008)

(3 items)

December (2007)

(1 item)

November (2007)

(1 item)

October (2007)

(1 item)

September (2007)

(3 items)

August (2007)

(1 item)

July (2007)

(1 item)

June (2007)

(2 items)

May (2007)

(8 items)

April (2007)

(2 items)

March (2007)

(7 items)

February (2007)

(2 items)

January (2007)

(2 items)

November (2006)

(1 item)

October (2006)

(2 items)

September (2006)

(1 item)

June (2006)

(2 items)

May (2006)

(4 items)

April (2006)

(1 item)

March (2006)

(5 items)

January (2006)

(1 item)

December (2005)

(3 items)

November (2005)

(2 items)

October (2005)

(2 items)

September (2005)

(8 items)

August (2005)

(7 items)

June (2005)

(3 items)

May (2005)

(7 items)

April (2005)

(6 items)

March (2005)

(1 item)

February (2005)

(2 items)

January (2005)

(5 items)

December (2004)

(5 items)

November (2004)

(7 items)

October (2004)

(3 items)

September (2004)

(7 items)

August (2004)

(16 items)

July (2004)

(10 items)

June (2004)

(27 items)

May (2004)

(15 items)

April (2004)

(15 items)

March (2004)

(13 items)

February (2004)

(16 items)

January (2004)

(15 items)

Blog Home

RSS 2.0

Writing

Programming C# 5.0

Programming WPF

Other Sites

Interact Software

Transparency, Video, and Windows Vista

Monday 1 August, 2005, 10:22 PM

In Windows 2000, Microsoft introduced a feature called Layered Windows. This introduced desktop composition features that had not been available in previous versions of windows, the most interesting of which was arguably the support for per-pixel transparency. With layered windows, any pixel in a window could be given its own transparency level. This is used for things like the transparent drop shadows you see on some windows, and Outlook uses it to fade new email notifications up and down.

Nice though this feature is, there have been a few limitations. For example, it didn't play nicely with video. If you were to move a semi-transparent window over a window that was playing video, it would all go a bit wrong where the two met. You wouldn't be able to see the video through any semi-transparent bits.

So one of the first things I tried with the Windows Vista beta that came out recently was see if they had fixed this - after all, we're supposed to have a new composition manager, so I wanted to know if that was present in the beta.

And it certainly seems to be:

A translucent window over a video

You can see the translucent title bar of an explorer window of what, despite appearances, is not in fact a video of Alan Davies. (It's a Channel 9 video about the virtual earth project I think. Hard to be sure since I haven't yet got sound drivers working on my Vista machine...)

What may be slightly less obvious is that the translucent title bar is also blurring the video slightly, as it should be - the title bars of Aero Glass windows are not simply transparent. They are slightly blurry, and also have a texture that changes depending on where you put the thing on the screen.

Copyright © 2002-2024, Interact Software Ltd. Content by Ian Griffiths. Please direct all Web site inquiries to webmaster@interact-sw.co.uk