Displays a message box in front of the specified window with the specified text, caption, buttons, icon, default button, and options.
- Parameters
-
owner | An implementation of iwin32_window that will own the modal dialog box. |
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. |
- Returns
- One of the xtd::forms::dialog_result values.