Shows a message with maximum of 4 own buttons
_MessageBox( $sMessage [, $sTitle = _DialogueTitle() [, $iCloseButton = 0 [, $sButton1 = "" [, $sButton2 = "" [, $sButton3 = "" [, $sButton4 = "" ]]]]] )#include "Dialogue.au3" |
$sMessage | Message of dialogue |
$sTitle | Title of dialogue, if empty title set by _DialogueTitle() is used |
$iCloseButton | When window close button is click, return this value, default 0 |
$sButton1 - 4 | String on buttons 1 to 4 if empty button isn't shown, a tooltip can be given by inserting a | sign and adding text after it |
integer value |
_DialogueTitle, _Sure, _Ok, _Try, _HideMessage, _Message
$ChosenOption = _MessageBox( "Choose an option", "Make a choice", 0,
"Option 1", "Option 2", "Option 3", "Option 4" )
Switch $ChosenOption
Case 1:
etc.
See also library example