The Borland MessageBox requires the BWCC32.DLL. If you do not have this DLL, download the demo program and DLL here: MessageBox Demos - 67 KB
The Borland MessageBox function uses exactly the same arguments as the Windows MessageBoxA function. Both are demonstrated below. The Borland MessageBox function is called "BWCCMessageBox".
Documentation for the Windows MessageBoxA function can be found at the MSDN Library
Here is a side-by-side comparison of the appearance:
wtype = _MB_ICONEXCLAMATION or _MB_YESNOCANCEL or _MB_DEFBUTTON2 message$ = "This looks normal." title$ = "A Windows Message Box" 'Windows MessageBox calldll #user32, "MessageBoxA", _ 0 as ulong,_ 'window handle or 0 message$ as ptr,_ title$ as ptr,_ wtype as ulong,_ 'flags for buttons and icons RESULT as long select case RESULT case _IDABORT print "Abort button was selected. " case _IDCANCEL print "Cancel button or the close button on the title bar was selected." case _IDIGNORE print "Ignore button was selected." case _IDNO print "No button was selected. " case _IDOK print "OK button was selected. " case _IDRETRY print "Retry button was selected. " case _IDYES print "Yes button was selected." end select wtype = _MB_ICONEXCLAMATION or _MB_YESNOCANCEL or _MB_DEFBUTTON2 message$ = "This looks different!" title$ = "A Borland Message Box" 'Borland MessageBox - requires add-on DLL open "bwcc32.dll" for dll as #bwcc calldll #bwcc, "BWCCMessageBox", _ 0 as ulong,_ 'window handle or 0 message$ as ptr,_ title$ as ptr,_ wtype as ulong,_ 'flags for buttons and icons RESULT as long close #bwcc select case RESULT case _IDABORT print "Abort button was selected. " case _IDCANCEL print "Cancel button or the close button on the title bar was selected." case _IDIGNORE print "Ignore button was selected." case _IDNO print "No button was selected. " case _IDOK print "OK button was selected. " case _IDRETRY print "Retry button was selected. " case _IDYES print "Yes button was selected." end select