AcediaDocumentation

messagebox

Displays a Windows message box and returns the selected button ID.

Yields while the message box is open. The result is a Windows button identifier, not a boolean.

messagebox(text: string, caption: string, flags: number?): number

Parameters

ParameterTypeDescription
textstringMessage text.
captionstringWindow title.
flagsnumber?Windows MessageBox flags; defaults to 0.

On this page