Loadable Function: rv = win32_MessageBox (title, text)
Loadable Function: rv = win32_MessageBox (title, text, MboxType)

Display a message box using the win32 API.

title MessageBox title string

text MessageBox text string

MBoxType can be an integer or a string.

For integer values, consult <windows.h>

The following string values are recognized:

  • MB_OK
  • MB_OKCANCEL
  • MB_ABORTRETRYIGNORE
  • MB_YESNOCANCEL
  • MB_YESNO
  • MB_RETRYCANCEL

Default is MB_OK

Returns a value rv:

1

User Clicked OK

2

User Clicked Cancel

3

User Clicked Abort i

4

User Clicked Retry

5

User Clicked Ignore

6

User Clicked Yes

7

User Clicked No

10

User Clicked Try Again

11

User Clicked Continue

Package: windows