I’m trying to achieve the following:
Loading a VST, calling CreateEditor and put the returned component on my main UI (not in its own window).
I need the VST editor to interact correctly with all the other components. for example, if i SetPosition him to X=-50, i expect it to be partially hidden under the component on the left.
To do that, i had to call sendToDesktop on the control hosting the VST editor so it will have its own window, then i called SetParent on the editor hoster component to put it back under my main app window.
my question is: Is there a better/simpler way to do it ?
Thanks in advance