Support for Toast messages

Does Juce support Toast messages, i.e. message boxes which display a message box at a certain position and vanish after a definable period of time?
BubbleMessageComponent is near but i need a component without showing a graphical pointer to another component.

Just use a Component and Timer::callAfterDelay() to close it. You can also use the ComponentAnimator class to fade out the Component.

Rail

1 Like

I will try that, thank you!

Not natively… Funny enough, a few weeks ago I was in the middle of hacking together Toast support for Android. It shouldn’t be very hard to get it working nicely.

https://developer.android.com/guide/topics/ui/notifiers/toasts.html

Toast behaviour and skinning for Android is quite easy, yes, and i think also doable with Juce :slight_smile: