I want to disable the shadow effect on a specific aero window. All I have is the HWND of this window, is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.