aero

Help getting .Net WinForms apps to support Vista Aero Glass.

There are a couple of tricks for getting glass support for .Net forms. I think the original source for this method is here: http://blogs.msdn.com/tims/archive/2006/04/18/578637.aspx Basically: //reference Desktop Windows Manager (DWM API) [DllImport( "dwmapi.dll" )] static extern void DwmIsCompositionEnabled( ref bool pfEnabled ); [D...

Enabling/Disabling Aero from a Windows Service

I have some code to enable/disable the Windows Aero service in Vista, and I would like to run it in a Windows Service. The code works in a standalone application, but when I run it from a Service, nothing happens. No errors or exceptions are thrown. I realise that running code in a service is a different scope than running code in an ap...

Disabling progress bar animation on Vista Aero

I'm using a Delphi 2009 VCL TProgressBar as a kind of "empty/full" gauge. On Vista, with Aero theme enabled, this has an animation associated with it, which is annoying and inappropriate for an gauge. Is there any way of disabling this (NOT by adjusting user's theme settings!) to prevent the animation on this control? Update: I under...

WPF Aero Glass DPI Setting Mismatch

I have a WPF application using Aero Glass. When using the application under a 120dpi setting the margins within my UI are not matching up to the margins I pass over to the DwmExtendFrameIntoClientArea API call. How would I get the systems DPI setting within .NET 3.0 so that I can correct the margin that I am passing to the DwmExtendFra...

Qt: Erase background (Windows Aero Glass)

Update see Using Blur Behind on Windows for an example of using Qt and DWM. 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 ...

Glass look for MDI windows under Vista

I am developing a winforms MDI application in C# in VS 2008. I have noticed that the MDI forms don't have the glass look under Vista. Is this by design? Is there a simple way to get the glass look for these windows? ...

Is it possible to achieve the "Aero Glass" look on XP?

Does anyone know any kind of framework that enables (not exactly the same, but) Vista's Aero Glass on XP? I need to develop a little desktop application with WPF, which has a Vista-like UI on XP. I don't need exactly the Aero Glass, some UI like "Windows Live Messenger" will do the thing. Is there any way to make it a reality? ...

How to achieve Vista glass transparency (AERO) in a WPF application?

It's easy for a WPF application to make parts of a window transparent or semi-transparent. But how to I apply the current Vista theme (colors, opacity) to these transparent parts? When I have a green glass border how will I get a green glass background of the same style? Is it even possible to do this without calls to the Windows API? ...

Override default styling in WPF TextBox, based on PresentationFramework.Aero

I want to use the Aero textbox styling, but still override some properties. I try to accomplish this by: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt; <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source=...

Aero Glass Borders on Popup Windows in C#

Hello - I would like to create pop-up windows like this: http://i44.tinypic.com/345bklu.jpg In my application using C#. I've looked into NativeWindow but I am not sure if this is the right way to do it. How can I accomplish this. I want a window to behave exactly like the volume control or "connect to" window in Windows 7. Edit: ...

How do you do a gradient fade to Aero glass in a WPF application like Office 2010 does?

I am writing an application in WPF and I would like to have the top of the application fade from a color to Aero glass like the new Office 2010 applications do (screen shots). Really it will be fading the area just below the title bar from glass to a color. (I think that maybe a better way to describe it). ...

How to create semi-transparent Windows form like Microsoft Office 2010 TP?

I need to create Windows form that has the following features. Semi-transparent on top-half of form(about 100-200 pixel). Quick access toolbar like Microsoft Office 2010 TP. Control box(minimize, maximize, close button) that is generated by Windows API(I don't like to create custom control box). Thanks, ...

Painting directly on the Windows desktop

I'd like to play animations on the Windows desktop without relying on 3rd-party products such as StarDock DeskScapes or Windows DreamScene. What APIs should I look into? ...

.NET: How to get ActiveCaptionText color when window is maximized?

How do you get the ActiveCaptionText color when a window is maximized? The color is correct when the window is restored: But is the wrong color when the window is maximized: How do you get the active ActionCaptionText? Note: Same question for ActiveCaption, InactiveCaption and InactiveCaptionText. It seems like there should be...

Is it possible for Java apps to use the Aero Glass effect?

Is it possible for a Swing based Java to have the Aero Glass effect as the background under Windows Vista/7? ...

WinForms Aero Wizard in C#?

I'm looking to implement a wizard C# in WinForms (not WPF), and I'd like it to comply with the Aero Wizard guidelines. Can anyone point me at some sample code? ...

How to programmatically disable window animation under Vista Aero?

My application does automated screenshots of several dynamically created forms. This works perfectly under Windows XP, but doesn't work well under Vista Aero. Most of the forms appear semitransparent in the screenshots. The problem lies in the window animation of Aero. How can I check/disable/enable this animation from inside a Delphi (...

Handling WM_NCPAINT "breaks" DWM glass rendering on Vista/Aero.

I am trying to make a window that alternates between having an Aero/Glass and a custom rendered frame (by handling WM_NCPAINT) based on a user setting. (Windows Vista). DwmComposition is enabled. My app comes up with the glass frame, but as soon as I toggle the setting to trigger the custom WM_NCPAINT codepath then toggle back to use De...

How to correctly screencapture a specific window on Aero/DWM

Background info: I have this MFC application I coded and been using for a long time that pretty much automatically saves screenshots to the hard disk when the user hits the Print Screen/Alt+Print Screen key. I have been putting off using anything related to Aero until now that I've been using Windows 7 RC for a couple of weeks. The pro...

ALT+TAB in Vista activates main window instead of previously active child window

My app (written in C++) uses Win32 (not MFC) to create a couple of windows with CreateWindowEx. The main window gets the desktop as parent, the child windows get the main window as parent. my problem: my app has an active child window I switch to another app (per click, ALT+TAB or other, doesn't matter) I switch back to my app with AL...