dwm Questions

5

Solved

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 ...
Margartmargate asked 7/12, 2015 at 17:20

4

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 app...
Bulletin asked 12/5, 2017 at 7:21

4

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...
Chara asked 16/5, 2017 at 11:27

2

Solved

So I have the following code: #region Dropshadow [DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")] private static extern IntPtr CreateRoundRectRgn ( int nLeftRect, int nTopRect, int n...
Citarella asked 20/3, 2018 at 22:14

2

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 ...
Starflower asked 22/12, 2015 at 11:21

2

Solved

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 clutte...
Freund asked 10/12, 2018 at 16:51

3

Solved

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 "Mat...
Mohun asked 5/1, 2015 at 21:11

3

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 wxwi...
Md asked 16/5, 2012 at 9:7

1

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.
Lunarian asked 29/7, 2018 at 7:12

1

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)...
Merrygoround asked 12/3, 2018 at 21:12

1

Solved

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 Window...
Mate asked 16/10, 2017 at 18:2

3

Solved

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 ...
Crick asked 22/9, 2015 at 18:24

2

Solved

I am aware that similar questions have been asked and answered. Mine, however, is a three-part question. For the purposes of this question, keep the following in mind: I am an amateur, early col...
Mathre asked 1/7, 2015 at 2:14

3

Solved

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.
Engender asked 15/6, 2011 at 15:56

11

Solved

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: [-]...
Harassed asked 27/2, 2013 at 14:48

1

Solved

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...
Leshia asked 1/9, 2015 at 15:50

1

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 ...
Scala asked 2/10, 2014 at 13:49

6

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 ...
Inwrap asked 23/11, 2010 at 16:26

3

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...
Underdog asked 24/8, 2010 at 20:47

1

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 ...
Tagmemics asked 3/10, 2010 at 4:11

0

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 Int...
Instantaneity asked 12/1, 2014 at 21:32

0

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 ...
Eurythmic asked 11/1, 2014 at 2:45

1

Solved

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 nex...
Joppa asked 20/11, 2013 at 0:50

2

Solved

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 programm...
Liaoning asked 23/7, 2013 at 4:38

2

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 t...
Christman asked 28/6, 2011 at 0:13

© 2022 - 2025 — McMap. All rights reserved.