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

Clearing a window contents in a blur behind window(DWM)

I have a window on which I call DwmExtendFrameIntoClientArea(), the window hosts other child windows, I use Direct2D to paint on one of the child windows, When a bitmap is loaded which has a black region on it, that region becomes blurred. I wish to…
Prasanth Ravi
  • 145
  • 1
  • 11
0
votes
0 answers

Full-screened app shows as black rectangle in Windows Flip 3D (pressing Win+TAB)

We have a DirectX application which can switch to full-screen mode. While in full-screen mode, pressing Win+TAB brings up the Aero Flip 3D interface, but the thumbnail for the application is a black rectangle. Interestingly this question has been…
user9665
  • 395
  • 1
  • 3
  • 7
0
votes
0 answers

Disable WS_EX_COMPOSITED for individual child windows?

I've programmed an application that superimposes semi-transparent child windows. For this I use the flag WS_EX_COMPOSITED in a common parent window. Now I've found a provider that renders 3D models, but it turns out that the rendering is done using…
0
votes
0 answers

How to make an app (in windows) non-themed and have system-wide-themed or non-themed window border?

Currently the following line sets the classic theme (makes the app unthemed): SetThemeAppProperties(0); The problem with this code is, while it sets the Classic theme inside the window, it paradoxically forces the window border to be Aero-Lite…
Anixx
  • 139
  • 1
  • 1
  • 8
0
votes
0 answers

How to use dwmapi to update touch proofing data in Windows10 or later versions?

In the tablet settings, I can configure the display corresponding to the touch screen. Then I find MultiDigiMon.exe changed the registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wisp\Pen\Digimon and MultiDigiMon.exe use dwmapi.Dll to update the…
gw5188
  • 1
0
votes
1 answer

Using DwmIsCompositionEnabled (JwaDwmApi) on pre-vista causes error

Been trying to use the following code in order to check if Windows Aero is enabled: function AeroEnabled: boolean; var enabled: bool; begin // Function from the JwaDwmapi unit (JEDI Windows Api Library) DwmIsCompositionEnabled(enabled); Result…
Jeff
  • 12,085
  • 12
  • 82
  • 152
0
votes
0 answers

Blur effect for WinForm - Issue with solution

I know this question have been answered with several ways but I am making this separate question in order to avoid potential queue of comments under initial question and its answers with which I am facing an "issue"(?). What I am trying to achieve…
Simos Sigma
  • 958
  • 7
  • 29
0
votes
0 answers

DwmSetWindowAttribute - change color and border (non client area)

I'm working on a .NET Framework (4.8) winform project and I fail to use dwmapi. I'm trying to customize a non client area, the titlebar and the border. Here's some code showing tests on corners and borders color... but I get the same error (HRESULT)…
SimonD
  • 51
  • 6
0
votes
0 answers

WS_EX_LAYERED window chroma key (LWA_COLORKEY) doesn't work in Windows 7 with Aero Glass enabled

I'm trying to make a DirectX8 application (Game Maker) chroma keyed using layered windows (WS_EX_LAYERED extended style flags, and LWA_COLORKEY method) for transparency and correct hit testing on a borderless window. However, out of all platforms…
renex
  • 1
  • 1
0
votes
0 answers

Does Windows Resize the Redirection Bitmap of Window?

I have been writing a moderately simple visual compositor for one of my projects. As you may guess, each visual has a redirection bitmap for itself. At some point, I must handle the case in which when a visual needs to be resized. I have a few of…
jtxkopt
  • 916
  • 1
  • 8
  • 21
0
votes
0 answers

Undocumented BlurBehind makes WM_NCHITTEST slow

Note, below is about Windows 10. There is same functionality for Windows 7, but code a bit different If to apply undocumented blurring just WM_POPUP|WM_VISIBLE window's background feature, as shown below: void BlurBehind(HWND hwnd) …
isagsadvb
  • 23
  • 4
0
votes
1 answer

What is the algorithm of window transition animation effect used in DWM

When min/maximizing windows on Windows, DWM applies the transition effect so the window gradually resizes, changes its transparency and moves. I want to mimic this effect on thumbnails, so I want to know the animation algorithm and its parameters…
n0p
  • 713
  • 10
  • 23
0
votes
2 answers

WPF Window Titlebar

I've looked in this article about getting "dark mode" titlebar in winforms WinForms Dark title bar on Windows 10 its obvious you can get the window handle like this (In WPF) instead of using this.Handle IntPtr hWnd = new…
hexeditor
  • 109
  • 1
  • 11
0
votes
0 answers

How does windowed rendering work without a compositor?

On systems with a compositor, a windowed application must render into an off-screen buffer, which is then submitted to the compositor for composition and presentation. How does displaying a windowed desktop work without a compositor? Suppose we have…
Electro
  • 2,994
  • 5
  • 26
  • 32
0
votes
0 answers

How to change the color of window border and title bar background programmatically when using DWM in win32?

I want to customize the window frame using DWM in win32 to get an appearance like VS2022 (draw menu on title bar) or Chrome (draw tabs on title bar), so I use the function DwmExtendFrameIntoClientArea with margin {0, 0, caption height, 0}.…
ltiger
  • 1
  • 1