I’m trying to embed a component inside a hierarchy of other component and have it contain its own native window peer, so that I can pass it to third parties to draw on (e.g. like audio plugins). I’ve been searching the forums/internet, and several solutions seem to come up, but none of them do exactly what I need.
The closest I’ve come is creating a
Component and calling
setVisible(true) on it. Then I’d need to move the loose window over my component using screen coordinates every time the containing window moves/resizes. This seems cumbersome and I suspect it’s not the way to go.
How does ROLI/JUCE actually recommend that I do this?