Previous Up Next

_DLGMessageBox
Open a message box. This is asynchronous : the function returns immediatly and do not wait the user to click on the message box.
Text buttons (Ok, Cancel, Yes, No) should be automatically localized by the Operating System.

MessageBox _DLGMessageBox (
Chn _channel_
ObjWin _window_
S _title_
S _text_
I _flag_
)
Parameters

_channel_
proprietary channel
_window_
mother window
_title_
title of the message box
_text_
text of the message box
_flag_
flag :
0 dialog box with a button 'Ok'
1 dialog box with two buttons 'Ok' and 'Cancel'
2 dialog box with two buttons 'Yes' and 'No'
Return value

New message box.