How to use native-OS titlebar for plugin editor window?


#1

I can see that TopLevelWindow has a setUsingNativeTitleBar method, but how can I set this for a plugin's editor window, which seems to inherit from Component, not TopLevelWindow?

Thanks...

 


Juce-made 32-bit VST2 plugin GUIs have unusual behavior in Max 7 on Mac OS 10.12
#2

Educated guess here, but I'm pretty sure you can't/shouldn't be able to control that since the editor's window frame is created by the plugin host. Most hosts have their own different levels of elaboration for decorating plugin UI windows, such as Cubase and Logic having their own preset systems, or Ableton just having a bare native frame, etc. I don't think those can be changed by a plugin.


#3

I can confirm what Jon Racz said. If you're a plugin, then the host controls your window and decides how to draw the title bar, so the answer is: you can't.


#4

Ah, of course.

This explains why the titlebar looks like JUCE when I use the Plugin Host app/project. 

Thanks.