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].
Questions tagged [dwm]
255 questions
0
votes
2 answers
Extending how Win 7 (Aero) draws it's default Windows and Controls
I'm looking to extend/override how Windows 7 draw's its standard Windows and controls. Right now I'm doing preliminary research on how to modify the standard UI to make it just a little bit more touch friendly for a project I'm working…

klyd
- 3,939
- 3
- 24
- 34
0
votes
1 answer
DWM Leaks Memory When No Monitor Connected Windows 8
Simply, if no monitor connected and you are doing some "windows" operation on windows 8 embedded, dwm.exe starts allocating memory and never stops.
to regenerate and show you all the problem, i have written an application which is doing "Create a…

Gurhan Polat
- 696
- 5
- 12
0
votes
2 answers
Rotate DWM Thumbnails
I was successfully able to register a DWM thumbnail and display it in my window (what I mean is the Vista/Win7 feature which allows you to live stream other top-level windows inside yours). Is there any way to rotate the thumbnail in my window? I…

Paya
- 5,124
- 4
- 45
- 71
0
votes
2 answers
Borderless Form Dropshadow
So I have the following code:
#region Dropshadow
[DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
private static extern IntPtr CreateRoundRectRgn
(
int nLeftRect,
int nTopRect,
int nRightRect,
int nBottomRect,
int…

Ma Dude
- 477
- 1
- 5
- 17
0
votes
1 answer
Vista live thumbnail issue with SetWindowRgn
I know I am probably missing something, but I can't seem to get windows to show the live thumbnail preview correctly when using a window that has a region. When hitting the minimize button the preview will clip to the minimized size (160x25) rather…

Bob
- 255
- 3
- 13
0
votes
1 answer
Best away to animate the position of the window from another process, with Sine easing?
I need to animate the position of windows from other processes. Is there any way to achieve this with smooth animations using Sine, Quad, Quart, or even Back easing?

deavon
- 53
- 6
0
votes
1 answer
V-Sync in MFC and GDI+
hi
I'm using MFC SDI application for my mid term project. but every time i draw scene (with GDI) and "invalidate()" it flicking occur.
I use DWM for double buffering and removing flicking but it rarely occur. i think problem is in the vertical…

user335870
- 588
- 2
- 11
- 22
0
votes
1 answer
Detect Win+Tab Task View
On Windows 10, you can press Win+Tab to get a "Task View" view of all your windows. I'm trying to check if this is active at any given time. I have tried using a Low Level Keyboard Hook with WH_KEYBOARD_LL but this only allows me to detect the…

Glenn Smith
- 912
- 1
- 17
- 37
0
votes
1 answer
Adding DWM Thumbnails as WPF Control child
I use DWM thumbnails to create a window picker and I want to add those thumbnails as children for a WPF StackPanel. How can I do that?
In this code, I have a Grid called b which I want to add the app thumbnail as a child of…

Ebram
- 1,042
- 1
- 13
- 26
0
votes
0 answers
How to get the scale factor of dwm for a non-dpi-aware process?
Size and position of a control are modified by windows (dwm). I need a way to get the exact scaling in x and y to counter-balance this.
I can not use a manifest, because I am writing a plugin to an .exe (3ds Max).
I can not change the manifest of…

MatthiasL
- 81
- 6
0
votes
1 answer
DWM memory leak on NVIDIA GPU while running simple UWP app
I have 2 GPUs in my laptop: Intel HD Graphics 4600 and NVIDIA GeForce GTX 950M
While running simple UWP app using Windows.UI.Composition API I've noticed that my desktop freezes. Checked my processes and found out that DWM consumes a lot of…

Jet Chopper
- 1,478
- 13
- 22
0
votes
1 answer
WPF Aero window without shadow
I am aware of the following question:
I want to disable the shadow effect on a specific aero window
However, I still need the DWM blur/reflections behind my Aero window, so I can't create a custom transparent one. How would I approach that? I could…

Lazlo
- 8,518
- 14
- 77
- 116
0
votes
1 answer
How to get COLORREF from DwmGetColorizationColor
I am extremely new and I do not understand what to do. I am making a DLL in C++ for a game I am working on in another language. I know nothing about C++ and have been barely been working myself through it. I need it to return the windows…

Jordan
- 1
- 2
0
votes
1 answer
c++ MFC Window(Frame) Manipulation
I'm working on an Windows Application which has to show an overlaying fixed positioned window ("PopUp") in the left corner of the MainFrame which will receive some Information if a user missed some input or if certain actions have been…

Jan Raufelder
- 287
- 7
- 23
0
votes
1 answer
How does the Desktop Window Manager composite windows?
How does window compositing in the DWM (Windows 7+) work? Does the DWM ask each window what it looks like, and then composites those together onto the window frame and then onto the desktop? (And if so, what API call does it make when it asks? Could…

Jason
- 13,563
- 15
- 74
- 125