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

How do I create a acrylic blur effect in a VCL application?

How do I create a acrylic blur effect like the one in UWP apps in a Delphi VCL application? I tried using the following method I found here: program DwmTest; //Author : Rodrigo Ruz 2009-10-26 {$APPTYPE CONSOLE} uses Windows, SysUtils; type …
Codex
  • 101
  • 1
  • 11
0
votes
0 answers

Win32 Dwm borderless window with shadow

I am trying to create a borderless window with the standard shadow. I read on the winapi documentation that setting pMarInset with negative values to the DwmExtendFrameIntoClientArea function, creates the "sheet of glass" effect where the client…
nico.user
  • 483
  • 2
  • 5
  • 15
0
votes
0 answers

How to use buffered painting on a button control in win32?

In my program I have a custom window frame, the frame is extended using DwmExtendFrameIntoClientArea. I have placed a button control on top of the frame, the problem is that the button text is black and it is transparent. I am trying to use the…
Arush Agarampur
  • 1,340
  • 7
  • 20
0
votes
0 answers

Headaches with GetWindowRect GetWindowPlacement DwmGetWindowAttribute

I'm a writing window management app in c# winforms to reposition other windows on the desktop. My issue came when I started using user32.dll calls to get the other windows size and position: [DllImport("user32.dll")] public static extern…
0
votes
0 answers

What's the difference between MPO (multi-plane overlay) compositing and DWM compositing?

Can someone explain to me What's the point of MPO and what difference it makes when enabled?
Seeker
  • 39
  • 6
0
votes
0 answers

How to get the RECT during Windows Minimize, Maximize and Restore animation

Hi I am developing a project using C#/WPF and Windows.UI.Composition for creating acrylic effect in WPF. Here is how my project looks like currently Current Status Usually rendering any Windows.UI.Composition visual in WPF causes airspace issue, to…
trickymind
  • 557
  • 5
  • 21
0
votes
0 answers

Using DwmExtendFrameIntoClientArea to draw a solid color dialog with standard non-client controls

I'm trying to create a dialog that looks more or less like this: So in other words, I'd like it to be one solid color, with the seamless non-client area, and standard-looking non-client controls (close, minimize, etc.). I imagine that that…
user15025873
0
votes
1 answer

Memory leak in dwm (Desktop Window Manager) using Animations in UWP

I have written a music Player for UWP that uses some animations while playing music like an rotating cover. I noticed that the Desktop Window Manager (dwm.exe) consumes around an MB memory each second. The animation shown above consumes around…
lokimidgard
  • 1,039
  • 10
  • 26
0
votes
1 answer

What are the requirements for window to be blurred, except SetWindowCompositionAttribute call?

I have a dll library that deals with windows: you can simply create windows, draw graphics, etc. Also this library provides you to make blurred windows for Win7 and Win10. I have two almost same builds of library - one , older without sources, and…
Artur
  • 325
  • 2
  • 16
0
votes
1 answer

Struggling to create a functional custom Windows 10 frame decoration following 'Custom Window Frame Using DWM'

I'm going to risk being shot down for being an idiot but I've sunk hours into trying to follow this windows tutorial with no luck: Custom Window Frame Using DWM My main goal is to create a custom window frame that behaves in the same was as the…
0
votes
0 answers

Can't drag or resize custom frame window

I'm programming an application that has a window that has custom frame. I visited these sites and use them both to create my own app: Winprog And also: Microsoft Docs: Custom frame window using dwm I use TDM_GCC and c language to write this…
Tony
  • 51
  • 7
0
votes
0 answers

Custom window frame results in weird rebar position

I'm new to Win32 and I am trying to have the window frame extended in the hopes of having a custom menu over there in the non-client area while also adding a rebar. Unfortunately, the extended frame causes the rebar to be placed at the top of the…
Artimonier
  • 111
  • 1
0
votes
0 answers

How to allow click through on Transparent WinForm OpenGL overlay

I'm trying to create an OpenGL Overlay window (using C# and OpenTK). I've managed to get the transparency working using DWM BlurBehind with an invalid region> I then set the owner of the form to another process so it only overlays over the top of…
jdm555
  • 99
  • 9
0
votes
1 answer

Can't draw on custom window frame with DWM

I have created a custom window frame using DWM. The frame extends successfully but whenever I try to draw onto the frame, the extended frame coveres whatever I am trying to draw. I have seen other people try to input a top left within negative…
Arush Agarampur
  • 1,340
  • 7
  • 20
0
votes
1 answer

Is there a WINAPI or P/Invoke method to clip/mask a window in C#?

My C# project starts some other processes, which create windows of their own. Displaying all those windows is messy - is there a way to clip/mask these windows (which my project does not own) so only a small portion of them is displayed and able to…
chigauyone
  • 21
  • 1