aero

What is the API to “create applications like Flip3D”

冷暖自知 提交于 2019-12-19 06:18:12
问题 I am trying to figure out how to use DWM to render a copy of a Window into my own desired location. The only thing I can find to tell DWM to render somewhere is with the thumbnail APIs. But MSDN's DWM Thumbnail Overview they specifically warn me off: Note DWM thumbnails do not enable developers to create applications like the Windows Vista Flip3D (WINKEY-TAB) feature. Thumbnails are rendered directly to the destination window in 2-D. I am told that the thumbnailing api cannot be used to

Get Aero Window Colour

橙三吉。 提交于 2019-12-18 05:12:22
问题 I've made a pretty slick Windows 8-ish interface using WPF. It already turns out way better than I could wish for, but I was wondering the following: Is it somehow possible to retrieve the current window colour set by the user? You know, you can set the Aero colour when you right-click the desktop... My plan is to use that colour for a couple of canvas elements on my GUI. Thanks in advance! 回答1: You can query the ColorizationColor registry key for this. I've even went a step further and

Disabling progress bar animation on Vista Aero

天涯浪子 提交于 2019-12-17 19:48:44
问题 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? To clarify, I want something basically identical to the 'disk space used' meters in Windows Explorer. No animation, but still with a nice border and shading effects. Update: I

Windows Aero: What color to paint to make “glass” appear?

一世执手 提交于 2019-12-17 15:28:34
问题 What color must i paint in the client area in order to make glass appear? i've extended the frame of my form into the client area using: DwmExtendFrameIntoClientArea(self.Handle, margins); i cannot find any official documentation from Microsoft on what color and/or alpha the DWM will look for to replace with glass. The documentation on DwmExtendFrameInClientArea doesn't even mention that a custom color is required. There's only hearsay and myth that a special color is even required. The

Non client painting on aero glass window

Deadly 提交于 2019-12-17 06:27:07
问题 Now Im customizing title bar of my application. My aim is to add one extra button on title bar. Im my previous question people have adviced me the way I can customize non client area. Thats works perfectly except one small thing - glowing ! I can draw glowing in nonclient area but I cannot make it spreads out of the window . I also cant find any resource about this subj. I looked into this sample and made my own test app for investigating non client drawing facilities. Screen shot of my app's

Disable transparency for any given window (not for all) in Windows Vista/7

£可爱£侵袭症+ 提交于 2019-12-13 22:18:58
问题 How do i disable transparency for any given window (not for all) in Windows Vista/7? My goal is to take screenshot of window without background being visible through glass borders. 回答1: I don't think that's possible. What you can do is open another window or two (or three or four) and resize them to the same width and drag it underneath the window you want to have opaque. 来源: https://stackoverflow.com/questions/5278208/disable-transparency-for-any-given-window-not-for-all-in-windows-vista-7

Display only an Image with Transparency in a Windows Form?

梦想的初衷 提交于 2019-12-12 19:26:34
问题 I'm trying to get a form in my Windows Forms program to be borderless, invisible, and have a PictureBox control in it. The PictureBox image is set to a PNG with an alpha channel to give it a transparent background. What I want is for the form to be completely invisible but I want the PNG with correct transparency to be visible still. This is only going to be for Windows 7 with Aero theme on so any shortcuts Areo can afford me I can use. I tried using a transparency key for the form like so:

How to determine correctly the Non-Client Area Size for Aero?

那年仲夏 提交于 2019-12-12 14:08:38
问题 How to determine correctly with VBNET or C# code the Non-Client Area Size when Aero is activated for a COMPILED application? (Yes, this problem only occurs when running a compiled application, not when launching the app from the IDE ) When I resize my form or I do any operation relationed with the height/width of the form I never get the expected result. For example this is a part of a code of a simple Docking of two forms: VB-NET: Me.Location = New Point((form1.Location.X + form1.Width),

Windows aero peek API

戏子无情 提交于 2019-12-12 08:34:38
问题 I am trying to use the API for aero peek. With a lot of digging and searching I stumbled upon this piece of code: [DllImport("dwmapi.dll", EntryPoint = "#113", SetLastError = true)] internal static extern uint DwmpActivateLivePreview(uint , uint , uint , uint ); But I can't get it to work.. I don't know what the parameters are.. I tried some API intercepting tools but that didn't work out. How can I discover how to properly call this API? 回答1: I eventually solved it my self. I have posted an

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

坚强是说给别人听的谎言 提交于 2019-12-12 07:27:16
问题 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? 回答1: 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. 回答2: There is a commercial Qt add-on that implements all the taskbar