Thanks, daniel. I want to use the JUCE file browsers, but I wanted to make them act more like MacOS. There are many behaviors to be modified, but one (for example):
When you use the Open dialog, you have to double-click to descend into a directory. If you select a directory with the mouse, the OPEN button remains grayed out. You cannot use it to OPEN the directory. I don’t want to be able to “select” the directory, I just want to use the OPEN button to descend into it - which is how MacOS works.
This requires modification of many things in FileChooserDialogBox, which reference private member variables.
A second example: The filepath comboBox at the top lists recent paths visited at the bottom of the list. It puts the full path name in there. Nobody likes to look at things like this, only a programmer would:
I’d like it just to show ‘tempfiles’ the way MacOS does. However, when you select the shortened path name, it still has to store the long path name somewhere to act upon the selection.
This requires an extensive modification of FileBrowserComponent::setRoot(), among others. Even if it could be overridden it references many private member variables.
Lastly, I’m using it as a component installed over/inside my MainComponent as a child that blocks everything underneath it with a semi-transparent layer, and avoiding the use of the ModalComponentManager or it being a separate window, to avoid all the problems associated with that in a plugin.
It seems at this point I have it all working quite well; just was not quite sure what effect that missing function call would have and whether there was any way to change my syntax to use it. It seems to be something for Windows/Linux.
So actually, I had to duplicate both FileChooserDialogBox and FileBrowserComponent to get these things to work.