aero-glass

How to use WindowChrome without Windows Aero glass effects in wpf, black border

核能气质少年 提交于 2019-12-09 09:25:42
问题 I'm trying to customize a window border by using the WindowChrome class. Without Windows Aero glass effects. As expected I end up with a black boarder. But i also end up without caption buttons From Microsoft i learn that i can use the standard window by setting the window style to null to overcome these problem http://msdn.microsoft.com/en-us/library/microsoft.windows.shell.windowchrome.aspx But i do not succeed with that. Do anyone have a working example of this? Or a link of some sort that

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

Deadly 提交于 2019-12-09 06:30:36
问题 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 Office 2010 applications. 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). 回答1: I figured out how to get it to work. I set the entire window to have the aero glass effect on it using the native API's and then a create a LinearGradientBrush for my background of the window. In the brush

Delphi XE with Aero effects causes paint issue

老子叫甜甜 提交于 2019-12-05 18:24:57
问题 I have upgraded to Delphi XE from 2009 and am experiencing a strange issue. I create a new project, put down a TRibbon control, compile and run. Keeping the form in its default size I then minimize and restore without issues. I then maximise the form, minimize and restore and the form colour is changed to black. I have no random code to change it and am using all defaults Delphi XE comes with and it does it each and every time without fail. I have moved the compiled exe to a friends computer

Custom dwm drawn window frame flickers on resizing if the window contains a HwndHost element

不羁岁月 提交于 2019-12-05 00:39:32
问题 I've been thinking about this for a couple of days but I think I lack some basic understanding of how windows and wpf work internally to figure this out. The problem is this: I created a window that should let me draw wpf controls on an aero title bar (like office). This works fine as long as I don't add a Hwndhost element to the window, in this case whenever i resize it the frame and the HwndHost start to flicker pretty badly (other elements seem to render properly). I also tried using the

Combining Aero Glass effects and SWT

℡╲_俬逩灬. 提交于 2019-12-04 06:33:53
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(shell.getDisplay(), new RGB(0, 0, 0))); final FormData fd = new FormData(); fd.top = new FormAttachment(0,

Delphi XE with Aero effects causes paint issue

落花浮王杯 提交于 2019-12-04 02:56:58
I have upgraded to Delphi XE from 2009 and am experiencing a strange issue. I create a new project, put down a TRibbon control, compile and run. Keeping the form in its default size I then minimize and restore without issues. I then maximise the form, minimize and restore and the form colour is changed to black. I have no random code to change it and am using all defaults Delphi XE comes with and it does it each and every time without fail. I have moved the compiled exe to a friends computer and the problem remains so I know it's not my computer. If I turn off Aero effects the problem goes

global disable magnifying glass on iOS 9 in meteor cordova app

99封情书 提交于 2019-12-04 00:14:44
问题 I have tested several workarounds to disable the annoying magnifying glass with css, but on my iOS9 meteor cordova build it appears for a moment and fades out after some ms. it was working on iOS 8 but not on iOS 9 now with this css code: body, body * { -webkit-user-select: none !important; user-select: none !important; -webkit-user-callout: none !important; -webkit-touch-callout: none !important; } input, textarea { -webkit-user-select: text !important; user-select: text !important; -webkit

Custom dwm drawn window frame flickers on resizing if the window contains a HwndHost element

时光总嘲笑我的痴心妄想 提交于 2019-12-03 14:44:26
I've been thinking about this for a couple of days but I think I lack some basic understanding of how windows and wpf work internally to figure this out. The problem is this: I created a window that should let me draw wpf controls on an aero title bar (like office). This works fine as long as I don't add a Hwndhost element to the window, in this case whenever i resize it the frame and the HwndHost start to flicker pretty badly (other elements seem to render properly). I also tried using the custom frame window implementation from the WPF Shell Integration library and the result is the same, so

How to use WindowChrome without Windows Aero glass effects in wpf, black border

被刻印的时光 ゝ 提交于 2019-12-03 12:01:13
I'm trying to customize a window border by using the WindowChrome class. Without Windows Aero glass effects. As expected I end up with a black boarder. But i also end up without caption buttons From Microsoft i learn that i can use the standard window by setting the window style to null to overcome these problem http://msdn.microsoft.com/en-us/library/microsoft.windows.shell.windowchrome.aspx But i do not succeed with that. Do anyone have a working example of this? Or a link of some sort that can explain how to solve my problem? I have tried to do a simple example code, and change the

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

旧城冷巷雨未停 提交于 2019-12-03 08:07:51
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 Office 2010 applications. 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). I figured out how to get it to work. I set the entire window to have the aero glass effect on it using the native API's and then a create a LinearGradientBrush for my background of the window. In the brush I used the Alpha properties of the brush and set the stops to have the top of the window go from white