Method dialog.showError
Overload
Shows dialog with DIcon.Error icon.
public static int showError(string text1 = null, string text2 = null, Strings buttons = default, DFlags flags = 0, AnyWnd owner = default, string expandedText = null, string title = null, int secondsTimeout = 0)
Parameters
|
text1 (string)
Main instruction. Bigger font. |
|
text2 (string)
Text below main instruction. |
|
buttons (Strings)
Button ids and labels. Examples: |
| flags (DFlags) |
|
owner (AnyWnd)
Owner window. See dialog.SetOwnerWindow. |
|
expandedText (string)
Text that the user can show and hide. |
|
title (string)
Title bar text. If omitted, |
|
secondsTimeout (int)
If not 0, after this time (seconds) auto-close the dialog and return dialog.Timeout. |
Returns
|
int
Selected button id. |
Exceptions
|
Win32Exception
Failed to show dialog. |
Remarks
Calls dialog.show.