I’m making a VST host app and recently I decided to use Juce for making all the application’s UI.
Now, I’m rewriting code related to display plugin editors. Previously I used to create win32 window by CreateWindowEx(), then set the size through SetWindowPos() and just pass its HWND to a plugin instance through dispatch().
This approach worked fine.
However, when I create a window which is an instance of the class inherited from juce::DocumentWindow and then I pass its handle to a plugin, the plugin Editor graphics are drawn covering the window’s title bar area.
Is there any window property which I should set up correctly to avoid this problem?