aero

Why aren't my MDI child forms showing a shadow?

折月煮酒 提交于 2019-12-01 09:39:53
In my application when I make a form as a child form of my main MDI parent form, the child form stops showing Windows 7 default shadow effect behind forms. How do I get child forms shadow to show? Form obj = Application.OpenForms["My_form"]; if (obj != null) { obj.Focus(); } else { My_form c = new My_form(); c.MdiParent = this; c.Show(); } This is normal, entirely by design. MDI child windows are not top-level windows, but rather a special type of child window that is designed to be hosted in an MDI parent window . The Desktop Window Manager (DWM), which is what is responsible for the Aero

How make sure Aero effect is enabled?

有些话、适合烂在心里 提交于 2019-12-01 07:32:32
Is there any api or something that we make sure, Glass effect is already actived? In some codes that i saw, if DllNotFoundException throws, then they make sure it's not active or not exists. is there a better or standard way? This is the solution for Using Aero Effect to extend glass area in WPF . On this MSDN page it suggests you can detect Glass using DwmIsCompositionEnabled : When the status of desktop composition is changed, a WM_DWMCOMPOSITIONCHANGED message is broadcast. There are no parameters telling you if it's being enabled or disabled, so it's up to you to call

Qt: what is the current status of Windows 7 Taskbar Extensions support?

微笑、不失礼 提交于 2019-12-01 04:02:40
Windows 7 Aero Theme has a brand new taskbar with extensions . What is the current status of Taskbar Extensions (jump lists, etc.) support in Qt? Far as I'm aware there's no support for this yet - but there would be nothing to stop you making native OS API calls to do this just on Windows. If you want to see an example of this approach, check out this recent Qt Labs posting about using "blur-behind" on windows. There is a commercial Qt add-on that implements all the taskbar extensions. It is called Q7Goodies and it seems to be really easy to use. I've written a small library for Qt, it just

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

自作多情 提交于 2019-11-30 17:58:07
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: How can I achieve this in the most efficient way possible? WinForms or WPF is fine by me. Hopefully it

How to create own control in Windows 7 Aero task preview?

冷暖自知 提交于 2019-11-30 13:22:50
问题 I've got two questions about Windows 7 task preview. In Delphi I'd like to create my own buttons inside the area highlighted in the screenshot below. 1) Is it possible to create my own controls in the task preview window (in Windows 7) like e.g. Winamp can do ? Or it's just some limited multimedia extension ? 2) If it's possible to draw there own buttons where should I start ? Example or Windows API guide-post would be helpful for me. Thanks a lot in advance 回答1: Yes you can, check these

Delphi - Windows Aero resources

∥☆過路亽.° 提交于 2019-11-30 10:05:31
Anyone have any good resources for Delphi and Windows Aero on 7 or Vista? We're just about to add Windows 7 to our company and want to make sure that our in-house applications use fit in as well as possible. Using Delphi 2010 I can add the Glass Frame and the menu bar inherits an Aero look, however the TabControls, Grids and Status bars all stick out as being outdated. Any help? I agree that using the Enable Runtime Themes project option should make most controls theme-aware. TMS Components are always being updated to include the latest themes, including Windows 7, and Raize Components allow

Aero Snap not working for my application

拟墨画扇 提交于 2019-11-30 09:33:21
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> 00030D1C P WM_KEYDOWN nVirtKey:VK_LWIN cRepeat:1 ScanCode:5B fRepeat:0 fUp:0 <00071> 00030D1C P WM_KEYDOWN nVirtKey:VK_LWIN cRepeat:1 ScanCode:5B fRepeat:1 fUp:0 <00072> 00030D1C P WM_KEYDOWN nVirtKey:VK_LWIN cRepeat:1 ScanCode:5B fRepeat:1 fUp:0 <00088> 00030D1C S

How to create own control in Windows 7 Aero task preview?

人走茶凉 提交于 2019-11-30 07:28:07
I've got two questions about Windows 7 task preview. In Delphi I'd like to create my own buttons inside the area highlighted in the screenshot below. 1) Is it possible to create my own controls in the task preview window (in Windows 7) like e.g. Winamp can do ? Or it's just some limited multimedia extension ? 2) If it's possible to draw there own buttons where should I start ? Example or Windows API guide-post would be helpful for me. Thanks a lot in advance Yes you can, check these components Windows 7 Components from Daniel Wischnewski to see an example. this is a screen-shot from the demo

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:

Delphi - Windows Aero resources

放肆的年华 提交于 2019-11-29 15:03:34
问题 Anyone have any good resources for Delphi and Windows Aero on 7 or Vista? We're just about to add Windows 7 to our company and want to make sure that our in-house applications use fit in as well as possible. Using Delphi 2010 I can add the Glass Frame and the menu bar inherits an Aero look, however the TabControls, Grids and Status bars all stick out as being outdated. Any help? 回答1: I agree that using the Enable Runtime Themes project option should make most controls theme-aware. TMS