|
Provide a modal dialog window for messages to user. - Parameters:
-
| mode |
MB_OK provide only one button with a "Ok" default captionMB_YESNO provides two button with "Yes" and "No" default captions.MB_OKCANCEL provides two button with "Ok" and "Cancel" default captions. Mode can be ored with:MB_ICONSTOP provides a warning iconMB_ICONINFORMATION provides a "information icon"MB_ICONQUESTION provides a question mark iconMB_ICONERROR provides an error icon MessageBox returns an integer that depends on modes and user response:IDOK , user pressed OK button in MB_OK or MB_OKCANCEL modeIDYES , user pressed YES button in MB_YESNO modeIDNO , user pressed NO button in MB_YESNO modeIDCANCEL , user pressed NO button in MB_OKCANCEL mode
|
| oktex | |
| canceltext | Args not more used, mantained for compat with vdk series 1.x.y Both OK,YES and NO buttons captions can be customized using <oktext> and <canceltext> arguments. |
| wait | if set other than 0 makes MessageBox automatically closed after <wait> msecs with IDCANCEL or IDNO result. Tip: MessageBox accepts CR as "yes/ok" and ESC as "no/cancel" default answers. |
|