Function TRAP::Utils::Dialogs::ShowMsgBox(const std::string&, const std::string&, Style, Buttons)#

Function Documentation#

Selection TRAP::Utils::Dialogs::ShowMsgBox(const std::string &title, const std::string &message, Style style, Buttons buttons)#

Blocking call to create a modal message box with the given title, message, style and buttons.

Parameters:
  • title – Title for the message box.

  • message – Message for the message box.

  • style – Style for the message box.

  • buttons – Button(s) for the message box.

Returns:

Selection made by the user.