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

时间秒杀一切 提交于 2019-12-06 05:24:57

问题


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


回答1:


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

In your case, one of the best approached would be creating your own window structure (starting from a borderless window) that will have similar transparency properties as Aero. This will not be an easy task, but certainly achievable.



来源:https://stackoverflow.com/questions/3696838/i-want-to-disable-the-shadow-effect-on-a-specific-aero-window

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!