Message Windows

DataView provides four different message windows.

The first three windows are selected in the Type list of the Message Data list.

The DataView-specific message window (type I) can be directly closed with [Esc], if it has the focus or if no mask has been opened on the desktop yet. You can use the context menu to copy (Copy command) selected contents into the clipboard or to delete (Clear command) all messages from the window.

The message window with user request is created independent from the selected window type if a message is called with a parameter string preceded by a ?. If the user confirms with [Enter], the userexit mes_usx will return the return code = 0. DataView closes the message window and continues program execution. If the user confirms with [N] and [Enter], mes_usx will return the return code = 1. DataView closes the message window and terminates program execution. You can then use the functions of the programming interface to evaluate the return code.

The message window with user request should only be used as test window. More comfortable MS-compatible message windows with OK- and Cancel buttons as well as the software-controlled evaluation of the user's reaction should be done using the function mes_prm of the programming interface.