The text to be displayed to the user. can be several strings, variables or a combination of the two. When specified, allows the user to open an application and work in that application, without having to respond to the MessageBox. If this parameter isn't used, the MessageBox remains the topmost window and the user must respond to the MessageBox before continuing with any other work. An optional parameter, used only with the -YesNo and -YesNoCancel flags. When the -DefaultNo parameter is set, default focus goes to the No button instead of to the Yes button. Allows the user to select either Yes or No within the message box rather than being limited to an OK button only. Required with the -YesNo or -YesNoCancel flag to store the result of the user action. Allows the user to select either Yes, No, or Cancel when a message box is presented. |