aero-glass

Delphi buttons show white border on Aero glass

血红的双手。 提交于 2020-01-22 09:32:05
问题 I have been trying to find a good-looking design using Aero in Delphi 2010. One of the obvious uses one sees, is where the glass frame is extended to include the OK/Cancel buttons at the bottom of the screen. I notice though that this doesn't look quite right in Delphi 2010 - there is a white border all around each button. This image shows the problem: the top 3 buttons are from my app, the bottom two were taken from Paint.NET's Layer Properties dialog. I tried various combinations of

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

六月ゝ 毕业季﹏ 提交于 2019-12-31 05:48:11
问题 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, anything black disappears. There are apparently ways of countering this problem: drawing complex GDI+ shapes are not affected by this alpha-ness. For example,

Windows Aero areas in own C# Applications

痴心易碎 提交于 2019-12-31 01:51:10
问题 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 (source: crenk.com) 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 out their huge used products. So my question is: Windows Aero Glass Areas - How to do? Is it only possible with a hack? Maybe it's just one

Aero: How to draw solid (opaque) colors on glass?

时光总嘲笑我的痴心妄想 提交于 2019-12-28 01:57:44
问题 Using GDI+ to draw various colors: brush = new SolidBrush(color); graphics.FillRectangle(brush, x, y, width, height); You'll notice that no opaque color shows properly on glass: How do i draw solid colors on glass? You'll also notice that a fully opaque color is handled differently depending on what color it is: opaque black: fully transparent opaque color: partially transparent opaque white: fully opaque Can anyone point me to the documentation on the desktop compositor that explains how

Windows Aero Glass background is broken after hibernate. How can I solve this?

和自甴很熟 提交于 2019-12-25 13:14:14
问题 I am developing a program in C# .net 3.5 wpf. It has to work on windows xp, windows vista and windows 7. On the newer operation systems I wantet to create the background in Aero Glass. So this is only a special design. After hibernate, after suspending or after changing windows Desings to a basic design and back to aero all the added glass is displayed completely black. I display Glass via the GlassHelper Class (can be found with Google). Actually I see 3 ways to solve this problem. The first

Non-resizeable, bordered WPF Windows with WindowStyle=None

瘦欲@ 提交于 2019-12-24 02:35:08
问题 Basically, I need a window to look like the following image: http://screenshots.thex9.net/2010-05-31_2132.png (Is NOT resizeable, yet retains the glass border) I've managed to get it working with Windows Forms, but I need to be using WPF. To get it working in Windows Forms, I used the following code: protected override void WndProc(ref Message m) { if (m.Msg == 0x84 /* WM_NCHITTEST */) { m.Result = (IntPtr)1; return; } base.WndProc(ref m); } This does exactly what I want it to, but I can't

Delphi 2009 Ribbon Controls - Glass Frame

你。 提交于 2019-12-23 15:05:06
问题 I've been starting to use the new inbuilt Ribbon controls in Delphi 2009 and use the custom frame so the Application button and Mini-toolbar slide up onto the Window Frame, but I'm wondering if on Vista it should use the glass effect like Office 2007 does, and if so how I would enable this setting. Thanks for any help. 回答1: Unfortunately it doesn't appear that that CodeGear implementation of the Ribbon control is compatible with the glass frame. Something about the way it draws disables it.

Combining Aero Glass effects and SWT

廉价感情. 提交于 2019-12-21 14:01:50
问题 As a pet project, I've been playing with the concept of integrating Aero Glass effects into my SWT application. Łukasz Milewski has an excellent blog post explaining how this can be accomplished, which pretty much boils down to this: final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FormLayout()); final MARGINS margins = new MARGINS(); margins.cyTopHeight = -1; final Composite c = new Composite(shell, SWT.NORMAL); c.setBackground(new Color

Custom draw Aero title bar without extending into client area

China☆狼群 提交于 2019-12-21 05:52:24
问题 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 glass to be removed. Does anyone know how to override WM_NCPAINT with glass in place in order to effectively draw over the glass area correctly? 回答1: I don't have

Custom draw Aero title bar without extending into client area

隐身守侯 提交于 2019-12-21 05:52:06
问题 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 glass to be removed. Does anyone know how to override WM_NCPAINT with glass in place in order to effectively draw over the glass area correctly? 回答1: I don't have