MCPcopy Create free account
hub / github.com/audacity/audacity / ShowMessageBox

Function ShowMessageBox

libraries/lib-basic-ui/BasicUI.h:291–298  ·  view source on GitHub ↗

Show a modal message box with either Ok or Yes and No, and optionally Cancel ! @return indicates which button was pressed */

Source from the content-addressed store, hash-verified

289 @return indicates which button was pressed
290 */
291inline MessageBoxResult ShowMessageBox( const TranslatableString &message,
292 MessageBoxOptions options = {})
293{
294 if (auto p = Get())
295 return p->DoMessageBox(message, std::move(options));
296 else
297 return MessageBoxResult::None;
298}
299
300//! Create and display a progress dialog
301/*!

Callers 15

LoadFXBMethod · 0.85
LoadFXPMethod · 0.85
LoadXMLMethod · 0.85
SaveFXBMethod · 0.85
SaveFXPMethod · 0.85
HandleXMLTagMethod · 0.85
UpdateMethod · 0.85
operator()Method · 0.85
DelayedHandlerActionMethod · 0.85
ImportMethod · 0.85

Calls 3

GetFunction · 0.85
moveFunction · 0.85
DoMessageBoxMethod · 0.45

Tested by 2

GetAudioMethod · 0.68
ValidateMethod · 0.68