IrrGuiAddMessageBox

section index

## NAME

IrrGuiAddMessageBox - add a MessageBox object to the GUI

## SYNOPSIS

*element.l = IrrGuiAddMessageBox(Caption.s, Text.s, [ bModal.l, [ flags.l, [ *parent.l, [ id.l ] ] ] ])

## INPUTS

Caption.s | - | Caption
Text.s | - | Text in the Box
bModal | - | #True (default) makes it modal
flags.l | - | Flags specifying the layout of the message box. For example to create a message box with an OK and a CANCEL button on it, set this to (#IRR_EMBF_OK | #IRR_EMBF_CANCEL).
*parent.l | - | is the parent item of the element. E.g. a window. Set it to #Null (default) to place the Image directly in the environment.

## FUNCTION

add a MessageBox object to the GUI

## EXAMPLE

       *element.l = IrrGuiAddMessageBox("Here we go!", "Hello World !"))

## RESULT

Returns pointer to the Element when Success