# PluginHost Demo: Nested plug-in window problem

**URL:** <https://forum.juce.com/t/pluginhost-demo-nested-plug-in-window-problem/27929>\
**Category:** Audio Plugins\
**Created:** [May 30, 2018, 12:33pm UTC](https://forum.juce.com/t/pluginhost-demo-nested-plug-in-window-problem/27929 "2018-05-30T12:33:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mercuriall](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mercuriall](https://forum.juce.com/u/mercuriall)\
**Post date:** [May 30, 2018, 12:33pm UTC](https://forum.juce.com/t/pluginhost-demo-nested-plug-in-window-problem/27929/1 "2018-05-30T12:33:29Z")

</div>

I’m an JUCE Indie developer. This is my first message on the forum. Basically I just read and the information was enough. But now I need help, because I could not find a discussion of something like this on the forum.  
I want to open the plugin windows inside the MultiDocument Panel. For this, I modified the **JUCE PluginHost Demo** a bit. But I can not make the plugin window be inside the document window. Is it possible to correct this behavior in some way?  
A short video of how it works now: [**The problem of displaying a Plugin in a nested window**](https://youtu.be/Al2BZUgbMFI)

---

<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:** [May 30, 2018, 12:41pm UTC](https://forum.juce.com/t/pluginhost-demo-nested-plug-in-window-problem/27929/2 "2018-05-30T12:41:26Z")

</div>

Unfortunately because of the legacy techniques that plugins use to embed their content, you’re going to have a hard time putting them inside anything other than a floating desktop window. Many plugins will expect there to be only a minimal border between their own sub-view and the parent one, and if you start trying to get them to sit inside a big parent window and move around in it, things will go horribly wrong in many cases.

---

<div class="post-metadata">

**Author:** ![mercuriall](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mercuriall](https://forum.juce.com/u/mercuriall)\
**Post date:** [May 30, 2018, 12:43pm UTC](https://forum.juce.com/t/pluginhost-demo-nested-plug-in-window-problem/27929/3 "2018-05-30T12:43:56Z")

</div>

> [@jules](#):
>
> Unfortunately because of the legacy techniques that plugins use to embed their content, you’re going to have a hard time putting them inside anything other than a floating desktop window. Many plugins will expect there to be only a minimal border between their own sub-view and the parent one, and if you start trying to get them to sit inside a big parent window and move around in it, things will go horribly wrong in many cases.

Thanks for the quick response Jules.
