I want to disable the shadow effect on a specific aero window

I want to disable the shadow effect for a specific aero window. All I have is the HWND of this window, is this possible?

+3
source share
1 answer

The shadow is determined by the theme currently used by the OS. You cannot disable it for only one window. You can change the theme and turn off the shadows, but it will be a system-wide change, not related to a single window.

In your case, one of the most suitable is to create your own window structure (starting with a borderless window), which will have similar transparency properties, such as Aero. This will not be an easy task, but certainly achievable.

+2
source

Source: https://habr.com/ru/post/1764412/


All Articles