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
6
votes
1 answer

Prevent Win32 from drawing classic title bar

I wanted to add a nice shadow to my borderless form, and the best way I found to do it with minimal performance loss is to use DwmExtendFrameIntoClientArea. However, this seems to be causing Windows to draw a classic title bar over the window, but…
MathuSum Mut
  • 2,765
  • 3
  • 27
  • 59
6
votes
1 answer

How can I get Aero Glass on a Windows Form without Borders?

I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get…
Kushal
  • 3,112
  • 10
  • 50
  • 79
6
votes
1 answer

Blur-behind window with titlebar in Windows 10? Stopped working after Windows Update

I'm trying to create a transparent window with a "glass" effect in Windows 10. This worked until recently: What I have been doing is: Paint to the target DC including an alpha channel. One way to do this in plain GDI is to construct an image with…
jdm
  • 9,470
  • 12
  • 58
  • 110
6
votes
3 answers

WINAPI/DWMAPI Blur-behind window with irregular shape

NB: THIS IS NOT A QUESTION ABOUT A BORDERLESS WINDOW. So, I stumbled upon this program while I was exploring my Start menu the other day on Windows 7: It's a native Windows program, called "Math Input Panel." Now, I'm curious about the window…
rookie1024
  • 612
  • 7
  • 18
6
votes
1 answer

Custom window frame with DWM: how to handle WM_NCCALCSIZE correctly

I'm trying to make a custom window frame for my form using DWM. The platform is C# WinForms, Pinvoking DWM. Following the MSDN article on making custom window frame with DWM, the main steps are next: Remove standard frame (non-client area),…
Artem Kachanovskyi
  • 1,839
  • 2
  • 18
  • 27
6
votes
2 answers

How to change Windows 7 Aero / Window border color programatically?

I am thinking of making a program that would change the Windows 7 aero color according to the battery level. I am fairly new to c# and I would like to know how to change the Windows 7 Aero programmatically I have this code [DllImport("dwmapi.dll",…
Trontor
  • 417
  • 1
  • 7
  • 20
5
votes
6 answers

Vista application thumbnail

By design, the toolbar application thumbnail on Vista does not update when an application is minimized, since the minimized window itself is not redrawing. For a monitoring application I have, it would be useful to update the application thumbnail…
HMcG
  • 2,062
  • 4
  • 24
  • 36
5
votes
1 answer

How make a form always on top even if the Windows 7 Flip 3D is activated

I'm building an app which needs display a particular form always on top (this is a customer request), so far I'm using the SetWindowPos function with the HWND_TOPMOST value, and that works fine, but when the Windows 7 Flip 3D feature is activated my…
Salvador
  • 16,132
  • 33
  • 143
  • 245
5
votes
0 answers

Show window 2nd+ time with fade-in transition

Say you have a WS_OVERLAPPEDWINDOW window, and you show it for the first time: ::ShowWindow(hwnd, SW_SHOW); The window appears with the expected fade-in animation (testing on Windows 10.0.18363). If you then hide the window: ::ShowWindow(hwnd,…
Sea Coast of Tibet
  • 5,055
  • 3
  • 26
  • 37
5
votes
1 answer

Disable Aero Peek in WPF application

I want to disable Aero Peek in my WPF application (my application must be visible when user placed the mouse over the button "Show desktop"). I use this PInvoke signature: [Flags] public enum DwmWindowAttribute : uint { …
Aleksandr Vishnyakov
  • 1,872
  • 5
  • 23
  • 39
5
votes
2 answers

PrintWindow and BitBlt of hidden windows

My program is taking screenshots of other application windows to automate some tasks on them. Those windows can be hidden offscreen or obscured by other windows from time to time. To reduce clutter, I have removed any error checking from the code…
Johannes Stricker
  • 1,701
  • 13
  • 23
5
votes
1 answer

How to create a semi transparent or blurred backcolor in a Windows Form

I am creating a Speed Meter to measure my internet speed and stays at top of every app, then I how do I make Its background semi transparent or blurred something like this.
Arwin Chua
  • 73
  • 2
  • 7
5
votes
1 answer

How do I achieve desktop overlay blur on Windows?

When I was installing AMD graphics drivers on Windows 10, I noticed a blurred background look, which is a style I want to achieve in my application. I have tried using UpdateLayeredWindow, but it does not apply a blur effect. I have tried using…
MathuSum Mut
  • 2,765
  • 3
  • 27
  • 59
5
votes
2 answers

How to keep Windows Aero theme after setting of background color of button in Qt?

Is there any way to change background color of widget without loosing of it's style? My problem is reproducible on Windows 7/Vista with Aero theme and on Windows 8 too. You can see how it looks in Qt Designer: Here we have four buttons: both top…
Ilya
  • 4,583
  • 4
  • 26
  • 51
5
votes
0 answers

Real time desktop capture to memory on Windows with Aero desktop

Using C++ or C#, I am trying to capture desktop in real time speed(more than 30fps) into memory. So that I can do whatever I want. But I can't do it with Windows Aero desktop. However, some desktop capture software does real time capture even though…
Aki24x
  • 1,058
  • 1
  • 13
  • 28
1 2
3
16 17