Windows Vista: Get the glass effect in your C# applications
- Posted: Aug 22, 2006 at 8:34 AM
- 32,124 Views
- 9 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
Hi, I am Daniel Moth
Intro:
Windows Vista has a new aero theme that includes what we call the glass effect (powered by the Desktop Windows Manager).
While the non-client area of all windows get glass for free, extending glass into the client area is something you have to work for, as a developer.
In this screencast, I show you how to achieve that with C# in Visual Studio.
Enjoy!
Contents:
30 seconds Intro slide
- 10' Paint it black
10'- 14' Blur the middle
14'- 17' TransparencyKey
30 seconds Closing slide
Video quality:
In order to keep the video size at 800x600, <20MB and also without cutting too much content, the quality of the glass effect is not shown in its true glory. However, the core goal of showing you the code is scored
Get the code:
I have similar samples to what I demo in the video on my blog here, here and here.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Thank you,
Hi SbDotNet
Please try a converter:
http://www.bing.com/search?q=c%23+converter+VB.NET
Cheers
Daniel
Thanks..
Thanks mate.
was searching for this since a long time
@Daniel Moth:
Daniel, could you please help me here. You state that the transparency key approach no longer works with Vista (I thought I'd cracked it there for a moment). I'm trying to put ordinary controls like TextBox's or ComboBox's onto the extended glass area and of course it doesn't display the text properly. How do you solve this problem simply.
@Daniel Moth:
Daniel, could you please help me here. You state that the transparency key approach no longer works with Vista (I thought I'd cracked it there for a moment). I'm trying to put ordinary controls like TextBox's or ComboBox's onto the extended glass area and of course it doesn't display the text properly. How do you solve this problem simply.
Remove this comment
Remove this thread
close