DocumentWindow as a PluginEditor


#1

Hi All.

I’m trying to create a plugin with a DocumentWindow GUI.
My problem is that Juce’s editor should also be of type AudioProcessorEditor.

I’ve search the forum and found that multiple inheritance is out of the question (diamond problem)
And when I’m trying to add my documentWindow onto a dummy audioProcessorEditor using addAndMakeVisible()
all I see is my document window flashing for a sec and then only my dummy component stays around.

Thanks is advance,
Shlomi.


#2

Don’t do it - documentwindow really isn’t designed for that kind of thing. Just use a normal component for your plugin, it’ll be inside the host’s frame anyway.


#3

Now I get it.

Thanks for the quick reply.