aero

Windows Aero-Glass (WinForms)

Hi All I have a Form on my Windows 7 pc and my form has the whole Aero Glass effect on the whole form. And I'm wanting to know if there's a way to draw text on the form that has glow effect, just like the text you see in the title-bars on vista and win7? Thank you ...

Custom draw Aero title bar without extending into client area

My WinForms application has the standard Aero glass appearance on Vista/Windows 7. I want to custom draw the window title bar so it retains the Aero glass appearance with the glass min/max/close buttons but without the title text and window icon. I have tried this by overriding WM_NCPAINT but overriding this event always causes the gla...

Using DwmExtendFrameIntoClientArea causes window to oddly resize

I have an application that uses DwmExtendFrameIntoClientArea to draw a glass effect area at the top of my .NET Form. A strange side effect is that when you maximize and restore the window it grows taller. So if you keep maximizing/restoring it just keeps getting taller! Remove the call to DwmExtendFrameIntoClientArea to remove that nice ...

disable Aero Snap (wpf)

Is it possible to disable the automatic window-docking feature of windows 7? ...

Is the Vista/Win7 aero effect included in WPF?

Can I use that effect on my controls just like the BlurEffect? If it's not available, is there a way to "acquire" it? Perhaps via the Reflector? ...

Change background color of disabled listbox in windows classic theme

I am developing a WPF application that must run using Windows Classic theme. The application creates a dialog box containing a ListBox. When the dialog box is shown, it must be disabled for 1s before accepting any input. I am accomplishing this with a style trigger, and it works. However, the ListBox shows a white background when it's...

Windows Aero areas in own C# Applications

I'm wondering about that many new applications, I think most built in WPF, has this really cool Windows Aero Glass interfaces. For example Seesmic or the upcoming Firefox 3.7 Searching in the internet most time it looks like you need a hack to realize this. But seriously: I don't think big software development teams use hacks to roll ...

.NET Framework 4.0 and drawing on Aero Glass issue

In my application I have a form which I tweak by using the DWM API's method DwmExtendFrameIntoClientArea to extend the height of the Aero Glass Title Bar so that part of my form client area is drawn on the Aero frame. To achieve this effect, I also draw a black rectangle on the part of the client area which is 'over' the glass frame so t...

My OpenGL game switches Aero DWM Glass off.

Hi ! I wrote a free game a few years ago: http://www.walkover.org. For the lobby and menus, it uses normal dialogs like win32. When the actual game starts it uses OpenGL. Now, on Windows 7, when the actual game starts, it switches windows aero glass off and switches it back on when the game is over. Is there something I can do to pr...

How do I fix the alpha value after calling GDI text functions?

I have a application that uses the Aero glass effect, so each pixel has an alpha value in addition to red, green, and blue values. I have one custom-draw control that has a solid white background (alpha = 255). I would like to draw solid text on the control using the GDI text functions. However, these functions set the alpha value to ...

Smooth Text On Glass

Hi All I have seen many other samples out there that draw smooth text on glass. But I can't use them. I need every single label that gets added at runtime to be smooth. I can't just "draw" text onto the screen. Is this at all possible, and are there and sources around? Thank you ...

Problem with custom aero window

Hi all, i ran into a problem while developing my own custom WPF Aero Window. I created a custom WPF control derived from Window I created a Generic Template (for XP an Non-Aero-Clients) and i set the WindowStyle to None and the ResizeMode to CanResize. I designed my own title bar. Everything fine. At the moment i'm doing the same ...

Changing Windows Vista/7's Transparency Color

Ok, so I've heard that the color Microsoft decided to use for there Transparency is Black. Which would explain why black text is invisible when drawn/placed onto a Glass surface. Wouldn't it just make sense for us to change the transparency color (black) BACK to Magenta? Why didn't they do this again? Is it even possible to change this ...

Glowing Label Controls On A Glass Surface

Is there any way, and any tutorials, articles, samples around that allow each and every new Label Control created at runtime to have a Glow around it, just like on Vista/7? Thank you ...

Problems with Aero Glass in Delphi 7 applications

Hi everyone! I'm trying to remake some of my older projects to support Aero Glass. Although it's kinda easy to enable glass frame, I've encountered some major problems. I used this code: var xVer: TOSVersionInfo; hDWM: THandle; DwmIsCompositionEnabled: function(pbEnabled: BOOL): HRESULT; stdcall; DwmExtendFrameIntoClientArea: f...

Can I modify the way Windows draws the Aero UI?

Windows 7 with Aero Glass basically looks quite nice I think. But it has some major drawbacks regarding readability: I cannot easily tell whether a window is currently active or not. I've been tweaking the colours and transparency levels a lot recently but the only safe indicator is the close button: it's red when the window is active, i...

Aero Snap not working for my application

I have a problem with Aero Snap not working with the application I'm working on (Windows desktop, native C++ application), and I'm a bit confused as to what's happening, as it seems like it should just work, out of the box. I've used Spy++ on a mininal win32 application, and get the following messages when I press Win-Left: <00070> 000...

win32 sdk: how to make the caption/border of a child window transparent

In my win32 application I want to create a child window within the main window. I assigned these styles to the child window when calling CreateWindowEx: WS_CHILDWINDOW | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_SIZEBOX | WS_CAPTION The child window I get has a caption and a resizable border. However there's no close button in the cap...

Drawing a TextBox in an extended Glass Frame w/o WPF

I am trying to draw a TextBox on the extended glass frame of my form. I won't describe this technique, it's well-known. Here's an example for those who haven't heard of it: http://www.danielmoth.com/Blog/Vista-Glass-In-C.aspx The thing is, it is complex to draw over this glass frame. Since black is considered to be the 0-alpha color, an...

How to duplicate the "background" applied to text in Aero window titlebars?

All windows in Aero have this kind of whiteish background on their text. I'd like to create an equivalent of this effect for a GlassWindow I'm using that has a TextBlock in the label area, but I'm not really a designer so I have no idea how to approach this. How can I reproduce this background effect? ...