|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > UserInterface > DBWMsgBox2 |
Shows a simple message box with a specified title and a specified button configuration.
Function DBWMsgBox2(message, style, title)
message |
message to display |
|---|---|
style |
the style button of the message box |
title |
title of the window |

The style parameter is an integer representing the standard VB costants
Costants references here.
Sub main()
DBWinit(TRUE)
style=4 'VBYesNo
ok = DBWMsgBox2("hello world!",style,"msgbox title")
if ok=6 then
msgbox "you pressed YES"
else
msgbox "you pressed NO"
end if
End sub