Objects of this type can be used to programmatically close message boxes.
More...
#include <juce_ScopedMessageBox.h>
Objects of this type can be used to programmatically close message boxes.
- See also
- NativeMessageBox::showScopedAsync(), AlertWindow::showScopedAsync()
@tags{GUI}
◆ ScopedMessageBox() [1/3]
◆ ScopedMessageBox() [2/3]
| juce::ScopedMessageBox::ScopedMessageBox |
( |
| ) |
|
◆ ~ScopedMessageBox()
| juce::ScopedMessageBox::~ScopedMessageBox |
( |
| ) |
|
|
noexcept |
◆ ScopedMessageBox() [3/3]
◆ close()
| void juce::ScopedMessageBox::close |
( |
| ) |
|
Closes the message box, if it is currently showing.
This is also called automatically during ~ScopedMessageBox. This is useful if you want to display a message corresponding to a particular view, and hide the message automatically when the view is hidden. This situation commonly arises when displaying messages in plugin editors.
◆ operator=()
Move assignment operator.
◆ impl
The documentation for this class was generated from the following file: