# Drop shadow on window with rounded corners

**URL:** <https://forum.juce.com/t/drop-shadow-on-window-with-rounded-corners/3972>\
**Category:** General JUCE discussion\
**Created:** [June 1, 2009, 11:01pm UTC](https://forum.juce.com/t/drop-shadow-on-window-with-rounded-corners/3972 "2009-06-01T23:01:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![strange](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@strange](https://forum.juce.com/u/strange)\
**Post date:** [June 1, 2009, 11:01pm UTC](https://forum.juce.com/t/drop-shadow-on-window-with-rounded-corners/3972/1 "2009-06-01T23:01:00Z")

</div>

I’ve got an application that has rounded corners, but the drop shadow gets drawn around the window as if it had square corners. It appears that what I need to do is to create my own drop shadow class that handles the rounded corners, but before I go through the work, I thought I’d check if anyone else has had experience with this or if I had missed a simpler approach?

Greg
