# DocumentWindow OSX Issue

**URL:** <https://forum.juce.com/t/documentwindow-osx-issue/7048>\
**Category:** Audio Plugins\
**Created:** [June 18, 2011, 7:30pm UTC](https://forum.juce.com/t/documentwindow-osx-issue/7048 "2011-06-18T19:30:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shlomi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/shlomi/32/99_2.png) [@Shlomi](https://forum.juce.com/u/Shlomi)\
**Post date:** [June 18, 2011, 7:30pm UTC](https://forum.juce.com/t/documentwindow-osx-issue/7048/1 "2011-06-18T19:30:17Z")

</div>

Hi

On Mac, whenever I start a new DocumentWindow in my plugin, It always apprears behind the plug-in window,  
and I can’t make it go on top of the plug-in.

What am I doing wrong?

Thanks.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [June 19, 2011, 12:25pm UTC](https://forum.juce.com/t/documentwindow-osx-issue/7048/2 "2011-06-19T12:25:35Z")

</div>

The plugin window might be always-on-top - you could try using setAlwaysOnTop in your window.
