Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
- Parameters
-
text | The text to display in the message box. |
caption | The text to display in the title bar of the message box. |
buttons | One of the message_box_buttons values that specifies which buttons to display in the message box. |
icon | One of the message_box_icon values that specifies which icon to display in the message box. |
default_button | One of the message_box_default_button values that specifies the default button for the message box. |
options | One of the message_box_options values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
display_help_button | true to show the Help button; otherwise, false. The default is false. |
- Returns
- One of the xtd::forms::dialog_result values.