Questions tagged [dwm]

For questions about the Desktop Window Manager (DWM), which handles desktop composition in Windows Vista and later versions. For questions about the Dynamic Window Manager (DWM) for X, use [x-dwm].

250 questions
55
votes
3 answers

Vista/7: How to get glass color?

How do you use DwmGetColorizationColor? The documentation says it returns two values: a 32-bit 0xAARRGGBB containing the color used for glass composition a boolean parameter that is true "if the color is an opaque blend" (whatever that…
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
33
votes
4 answers

GetWindowRect returns a size including "invisible" borders

I'm working on an app that positions windows on the screen in a grid style. When Running this on Windows 10, there is a huge gap between the windows. Further investigation shows that GetWindowRect is returning unexpected values, including an…
Deanna
  • 22,939
  • 7
  • 65
  • 142
31
votes
6 answers

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

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…
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
31
votes
3 answers

Windows Aero: What color to paint to make "glass" appear?

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…
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
29
votes
3 answers

How do you set the glass blend colour on Windows 10?

Using the undocumented SetWindowCompositionAttribute API on Windows 10, it's possible to enable glass for a window. The glass is white or clear, as seen in this screenshot: However, the Windows 10 Start menu and the notification center, which both…
David
  • 12,749
  • 6
  • 61
  • 126
27
votes
4 answers

How to fix DWMAPI.DLL delay-load dependency under WinXP?

I have built a .dll under WinXP that claims it can't find DWMAPI.DLL when it's loaded. The problem is that this DLL is a Vista DLL, and this a known issue for XP users that have IE7 installed. The recommendation is to uninstall IE7 or repair the…
Jim Buck
  • 19,506
  • 10
  • 50
  • 72
26
votes
11 answers

Maven Java EE Configuration Marker with Java Server Faces 1.2

I'm having a weird configuration problem with Maven in Eclipse. Although I can build the project and deploy it to tomcat without any errors, The Marker tab keeps showing the following message: [-] Maven Java EE Configuration Problem (x) JavaServer…
Tarek
  • 2,842
  • 4
  • 35
  • 49
26
votes
3 answers

OpenGL flickering/damaged with window resize and DWM active

I have a wxWidgets application that has a number of child opengl windows. I'm using my own GL canvas class, not the wx one. The windows share their OpenGL context. I don't think the fact it is wxwidgets is really relevant here. The opengl windows…
Pete
  • 4,598
  • 20
  • 30
25
votes
4 answers

Delphi support for Aero Glass and the DoubleBuffered property - what is going on and how do we use them?

I am confused by Delphi 2009/2010 support for the Aero Theme Glass features in Windows, and by what, exactly DoubleBuffered means, and what it has to do with Aero glass. I have found that DoubleBuffered is not only a property in the VCL, it also is…
Warren P
  • 58,696
  • 38
  • 168
  • 301
20
votes
2 answers

Qt: Erase background (Windows Aero Glass)

Update see Using Blur Behind on Windows for an example of using Qt and DWM.alt text http://labs.trolltech.com/blogs/wp-content/uploads/2009/09/blurbehind2.png Original question: I want to create a Windows Aero Glass window with Qt, now it looks…
Andrew T
  • 4,921
  • 7
  • 41
  • 54
16
votes
4 answers

Google Chrome style tabs on glass in Delphi

I am trying to implement Google Chrome style tabs, in Windows 7, in a Delphi application. The elements of this are: tabs may extend into the non-client area as they do in google chrome itself. draws properly on Vista and Windows 7 when glass is…
Warren P
  • 58,696
  • 38
  • 168
  • 301
16
votes
2 answers

How to get a thumbnail of a window in C#?

How do you go about getting a thumbnail of a window, like Windows 7 superbar preview, or Aero flip? Note that I do not want a screenshot of the application, there is a way in DWM to get this information. I would like a C# way of doing this. Thanks
esac
  • 22,369
  • 35
  • 114
  • 171
14
votes
1 answer

Is it possible to prevent tearing artifacts when drawing using GDI on a window with DWM composition?

I am drawing an animation using double-buffered GDI on a window, on a system where DWM composition is enabled, and seeing clearly visible tearing onscreen. Is there a way to prevent this? Details The animation takes the same image, and moves it…
David
  • 12,749
  • 6
  • 61
  • 126
13
votes
1 answer

Correct way to wait for VBLANK on windows 10 in windowed mode

What is the correct way to wait for VBLANK to present on windows 10 in windowed mode? Currently I'm doing the following: D3DKMTWaitForVerticalBlankEvent(&waitData); swapchain->Present(0, 0); However this leads to occasional stutter. My current…
douglasquaid84
  • 433
  • 4
  • 14
13
votes
1 answer

How to port WM to wayland?

Are there any examples to port existing WM from X11 to wayland? For example, porting light-weighted WMs (such as dwm, wmii, awesome) to wayland. Maybe, portings dwm to wayland is a good example.
Vivodo
  • 1,462
  • 2
  • 15
  • 29
1
2 3
16 17