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].

255 questions
11
votes
3 answers

How do I display open IE tabs as DWM thumbnails?

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…
Robert S.
  • 25,266
  • 14
  • 84
  • 116
11
votes
4 answers

Mimicking Acrylic in a Win32 app

Microsoft recently announced Acrylic, the glass-like material in Fluent Design. It's presented as XAML / UWP only, but looks very similar to glass, except it can be arbitrarily tinted and can apply in-app to flyover controls as well as to the app's…
David
  • 13,360
  • 7
  • 66
  • 130
11
votes
1 answer

Disable Background drawing in JFrame in order to properly display Aero (DWM) effects

I'm having problems using the DWM functionality of Windows Vista/7 on Java windows. I want to make the background of my frame use the Aero style. The Windows API to do so is provide by the function DwmExtendFrameIntoClientArea in the dwmapi library.…
Daniel Dreibrodt
  • 1,297
  • 2
  • 9
  • 11
11
votes
3 answers

DwmExtendFrameIntoClientArea without Aero Glass

Using the DwmExtendFrameIntoClientArea API call with Aero Glass enabled works just fine. However, I want it to work when Aero Glass is disabled as well, like how it works in the Windows control panel: Notice how the frame has extended into the…
Alex
  • 3,429
  • 4
  • 36
  • 66
10
votes
1 answer

Tests with TextBox under DWM glass

I'm trying to deal with TextBox text's color under DWM Glass. I read a lot of material, still no perfect solution. The almost perfect results code i found here:…
DxCK
  • 4,402
  • 7
  • 50
  • 89
10
votes
1 answer

What is the API to "create applications like Flip3D"

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…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
10
votes
1 answer

Handling WM_NCPAINT "breaks" DWM glass rendering on Vista/Aero

I am trying to make a window that alternates between having an Aero/Glass and a custom rendered frame (by handling WM_NCPAINT) based on a user setting. (Windows Vista). DwmComposition is enabled. My app comes up with the glass frame, but as soon as…
Ben Goodger
9
votes
2 answers

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

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…
Roald
  • 1,722
  • 11
  • 21
9
votes
0 answers

How to get a screenshot of non visible or minimized window?

I want to get a screenshot of non visible or minimized window and save it as bmp. I know how to do it with visible window. It's easy. But get non visible is quite difficult. I have looked over Internet and didn't find any example. I know that…
Valentyn Grygoriev
  • 463
  • 10
  • 29
9
votes
1 answer

How does Windows change Aero Glass color?

I'm using Windows 7 RTM and I wonder how the control panel is able to update the Aero Glass color so smoothly without restarting the DWM (uxsms). DwmSetColorizationColor isn't working any more...
Fred
  • 93
  • 1
  • 3
8
votes
3 answers

Detect system theme change in WPF

I need, for my WPF app, to detect when the DWM is turned on/off or when the system theme changes. There is such an event in WinForms, but I can't see any in WPF.
Vercas
  • 8,931
  • 15
  • 66
  • 106
8
votes
2 answers

Is it possible to capture a window with windows 7 DWM thumbnail in it?

I am starting to believe that you can do nothing with Windows API. I have two windows. One has a DWM thumbnail in it. What I want to do is, I want to be able to capture the screen of the window with the thumbnail into the other one. When I do this,…
Dogan Demir
  • 189
  • 2
  • 9
7
votes
1 answer

How do I subscribe to an OS-level event raised when DWM composition/Aero Glass is disabled?

I'm developing a C# application that supports Windows Aero in the main form. Some applications that do not support Visual Styles, for example GoToMeeting, disable visual styles and my form is wrongly drawn while GoToMeeting is running (the Aero…
Daniel Peñalba
  • 30,507
  • 32
  • 137
  • 219
7
votes
4 answers

Acrylic material in win32 app

Microsoft recently revealed their new "fluent" design langauge, and one part of it is the "acrylic" material. This effect makes an element transparent and blurs the background. It can either be applied to a window, such that parts of underlying…
jdm
  • 9,470
  • 12
  • 58
  • 110
7
votes
2 answers

DwmExtendFrameIntoClientArea strange behaviour on Windows 10

I'm having some trouble extending the window frames using DwmExtendFrameIntoClientArea on Windows 10. The images below show the behaviour I'm getting: The white titlebar colour is extended from the top, while from the sides and the bottom it…
YmFzZTY0
  • 109
  • 1
  • 9
1
2
3
16 17