I want to disable the shadow effect on a specific aero window. All I have is the HWND of this window, is this possible?
+2
A:
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.
Dennis Delimarsky
2010-09-12 22:21:05
The problem is I want to disable the shadow on a 3rd party app
Don
2010-09-12 22:27:21
That's going to be a system-wide change that will affect all applications. That's the way the composition engine works.
Dennis Delimarsky
2010-09-12 22:33:34
Ok thanks for the help
Don
2010-09-12 22:50:00