aero

No thumbnails showing in Aero flip/thumbnail for full screen direct3d 9 application

可紊 提交于 2019-12-12 05:18:51
问题 I'm sure this is on the web somewhere, but I'm having trouble with the search terms (getting lots of non-relevant stuff.) Anyway, I've got a Direct3D9 application. When it runs in full screen, on Vista and Windows 7, and you hit Alt-Tab or Win-Tab, my application just shows up blank in the thumbnail/preview/live view (not sure of the correct term.) Is there an API or notification I can respond to where I can draw my backbuffer to the thumbnail? 回答1: When running a full-screen Direct3D

How enable or disable AERO Composition in Windows 8 or higher?

风流意气都作罢 提交于 2019-12-12 02:23:02
问题 I have a updated code that works fine for enable or disable AERO Composition in Windows Vista and Windows 7. But this same code don't works when is used in Windows 8 systems. I saw in other website that from of Windows 8, AERO Composition can no longer be programmatically disabled. So, want know if by chance, someone here have some function or procedure in Delphi that works for this goal in Windows 8 systems or higher? Any suggestion are welcome. Here is my code for enable or disable AERO

Aero Glass Theme (Windows Forms)

你。 提交于 2019-12-11 05:49:40
问题 A litle while ago I was on Codeproject and came across a cool little tesxteditor and the whole form was made out of aero-glass, and the whole textbox was too. But I can't find it anymore. Does anybody know where it's gone? Or how I can make my Windows Form completely made out of Aero Glass? Thank you :) 回答1: This is for windows forms. not for WPF. http://blogs.msdn.com/tims/archive/2006/04/18/578637.aspx 回答2: Could this be what you're after... Enable Vista glass effect on a borderless WPF

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

守給你的承諾、 提交于 2019-12-10 10:56:26
问题 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 an arbitrary value, causing the text to translucently show whatever window is beneath my application's. After calling rendering the text, I would like to go

Programmatically Maximize Window On Half Of Screen

夙愿已清 提交于 2019-12-10 03:41:58
问题 I want to maximize a random window on the left side of my screen. Can I use Windows Aero functions from my code ? This window can be maximized like that with the mouse. I just want to do that programmatically. I use C# and I can get the IntPtr of the window. If possible without faking mouse or keyboard input. 回答1: This can be done without p/invoke. Try this: Rectangle rect = Screen.PrimaryScreen.WorkingArea; rect.Width = rect.Width / 2; Bounds = rect; This will put the current window on the

How do I display open IE tabs as DWM thumbnails?

ぐ巨炮叔叔 提交于 2019-12-09 15:06:59
问题 I am building a WPF application in C# and I want to display thumbnails of open IE tabs in a listbox. I'm essentially trying to duplicate the DWM functionality in Windows 7. I have figured out how to enumerate a list of open tabs using Interop.ShDocVW, but in order to use the DWM API calls, I have to pass in an hwnd , and the tabs all share the same handle as Internet Explorer. So I've been messing with EnumWindows and EnumChildWindows but I can't get anything to work. Any suggestions on how

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

How make stylistic buttons windows 7?

允我心安 提交于 2019-12-08 12:32:38
问题 I want use buttons on my application like this (see picture). This isn't usual buttons, it have standard picture, caption and description. Could anyone help me with it? (Post some code or something else) 回答1: The button you mentioned is called a Command Link Windows Vista and Version 6.00 introduced another kind of push button, the command link . Visually, a command link is very different from a normal push button, but it has the same functionality. A command link typically displays an arrow

Using DwmIsCompositionEnabled (JwaDwmApi) on pre-vista causes error

你说的曾经没有我的故事 提交于 2019-12-08 12:24:36
问题 Been trying to use the following code in order to check if Windows Aero is enabled: function AeroEnabled: boolean; var enabled: bool; begin // Function from the JwaDwmapi unit (JEDI Windows Api Library) DwmIsCompositionEnabled(enabled); Result := enabled; end; ... if (CheckWin32Version(5,4)) and (AeroEnabled) then CampaignTabs.ColorBackground := clBlack else begin GlassFrame.Enabled := False; CampaignTabs.ColorBackground := clWhite; end; However, doing so on a pre-vista machine causes the app

Possible to control other Programs/Windows [duplicate]

血红的双手。 提交于 2019-12-08 05:02:30
问题 This question already has answers here : How do you programmatically resize and move windows with the Windows API? (5 answers) Closed 6 years ago . I was wondering whether it is possible to resize programs other than the actual application itself. IE, I want to resize and move Word and my application to fill 70% and 30% of the screen respectively. Private Sub MinimiseButton_Copy_Click(sender As Object, e As RoutedEventArgs) Handles MinimiseButton_Copy.Click Me.Left = SystemParameters