Hi
In my host, I want to create some kind of loading indicator when loading a plugin.
Some plugins use a bit of time to load, locking up the message thread.
It would be nice to have a box popup saying "Loading Plugin xyz".
Seems trivial but I can't make it work.
I tried simply adding showing a CallOutBox when the user selects a plug, but is shows up after the plugin is loaded.
Basicaly this is my setup (in stupid-code) :
MouseClick { CallOutBox& myBox = CallOutBox::launchAsynchronously(content, Rectangle<int>(123, 456), nullptr); host->loadPlugin(description) //CreateNewPluginInstance }
Is there a trick to make the callout box show before the message thread gets busy with the plugin loading?