aero-glass

Blurring the background of a semi-transparent form (like Aero glass)

浪子不回头ぞ 提交于 2019-11-30 02:47:17
问题 I have a borderless, non-resizable WPF form (WindowStyle=None, AllowsTransparency=True, ResizeMode=NoResize) with a semi-transparent background. Here's a picture of how the form, a semi-transparent red rectangle, looks right now, running on top of Notepad: However, I'd like the background to be blurred, like how Aero glass does it, except without all the fancy window borders and colored background with stripes - I'd like to handle that myself. Here's a mockup of how I want it to look like:

Qt: Erase background (Windows Aero Glass)

匆匆过客 提交于 2019-11-29 20:29:24
Update see Using Blur Behind on Windows for an example of using Qt and DWM . alt text http://labs.trolltech.com/blogs/wp-content/uploads/2009/09/blurbehind2.png Original question: I want to create a Windows Aero Glass window with Qt, now it looks like this: But after calling some my_window->repaint() my window's label becomes broken: But now if I resize the window slightly, it repaints properly. The question is : how do I erase the window background, so that widgets would paint themselves on a clean glass? The short code to reproduce the problem is (Vista with Aero): class Window(QWidget): def

Changing the colour of Aero glass for my window?

試著忘記壹切 提交于 2019-11-29 14:04:08
问题 I'm using DwmExtendFrameIntoClientArea in my WPF application to get the glass effect. This is working fine. What I'd like to do is change the colour used for the glass -- I'm writing a countdown timer, and I'd like the window to be the normal glass colour most of the time, and then to go red (but still with glass) when the time runs out. I found this question, which talks about how to apply a gradient glass, and that works fine when picking a different colour. Unfortunately, the borders are

How can I get Aero Glass on a Windows Form without Borders?

孤街醉人 提交于 2019-11-29 04:37:06
I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get Aero glass in a form without any border.... ?? As you've said, DwmExtendFrameIntoClientArea literally extends the transparent glass effect of the window's frame into its client area, which means that if your form's FormBorderStyle is set to "None", your window will effectively be invisible. Instead, you need to use the DwmEnableBlurBehindWindow API

How to draw a custom caption bar like the yahoo messenger 11

眉间皱痕 提交于 2019-11-29 00:42:26
问题 As you can see, Y! messenger 11 have used some techniques to draw a beautiful caption bar. Its window's like normal windows in the Win 7 but have a special caption. Is this a glass frame? How can i create one like this?? 回答1: The best reference I know for this is a series of articles by renowned Delphi expert Chris Rolliston. Setting up a custom title bar on Vista/Windows 7 Setting up a custom title bar – reprise 来源: https://stackoverflow.com/questions/8056846/how-to-draw-a-custom-caption-bar

Google Chrome style tabs on glass in Delphi

こ雲淡風輕ζ 提交于 2019-11-28 17:37:55
I am trying to implement Google Chrome style tabs, in Windows 7, in a Delphi application. The elements of this are: tabs may extend into the non-client area as they do in google chrome itself. draws properly on Vista and Windows 7 when glass is enabled tabs work just like google chrome, and look like google chrome, over glass. I have found that the challenges I have to overcome are: How do I get a control (VCL control) to extend into the non-client area? (A good sample of a control that does this is the Ribbon control included in the VCL sources, but I haven't seen anybody else do it, and it

Qt: Erase background (Windows Aero Glass)

只愿长相守 提交于 2019-11-28 16:32:08
问题 Update see Using Blur Behind on Windows for an example of using Qt and DWM.alt text http://labs.trolltech.com/blogs/wp-content/uploads/2009/09/blurbehind2.png Original question: I want to create a Windows Aero Glass window with Qt, now it looks like this: But after calling some my_window->repaint() my window's label becomes broken: But now if I resize the window slightly, it repaints properly. The question is : how do I erase the window background, so that widgets would paint themselves on a

c# how to make a Windows 7 aero winform (blured glass)?

痴心易碎 提交于 2019-11-28 09:30:16
问题 how to make somthing like this Windows Forms Glass Effect, Make ImageBox transparent I use VS 2010 回答1: If all you are looking for is the standard glass effect (which includes the blur), check out this article: http://www.codeproject.com/KB/vista/AeroGlassForms.aspx Basically, all you're doing is extending the window's frame (which already has the glass effect) into the client area. You have to call the DWM API that come with Windows Vista or later using a couple of P/invoke methods because

Aero: How to draw ClearType text on glass?

和自甴很熟 提交于 2019-11-28 07:41:39
Using GDI+ to draw text on glass: graphics.DrawString(s, Length(s), font, MakePointF(x, y), brush); You'll notice that the ClearType enabled text draws very poorly on glass: But with glass disabled the text, of course, draw fine: By way of comparison here is Anti-alias font smoothing : And here is no font smoothing : Note : No font smoothing looks better than it really does because StackOverflow resizes the images on your monitor. How do i draw ClearType text on glass? Notes Win32 native not .NET ( i.e. native) not Winforms ( i.e. native) GDI+ ( i.e. native) What Mark is suggesting is that you

Google Chrome style tabs on glass in Delphi

只谈情不闲聊 提交于 2019-11-27 20:13:26
问题 I am trying to implement Google Chrome style tabs, in Windows 7, in a Delphi application. The elements of this are: tabs may extend into the non-client area as they do in google chrome itself. draws properly on Vista and Windows 7 when glass is enabled tabs work just like google chrome, and look like google chrome, over glass. I have found that the challenges I have to overcome are: How do I get a control (VCL control) to extend into the non-client area? (A good sample of a control that does