MsgBox
Blitz3D Forums/Blitz3D Beginners Area/MsgBox
| ||
I know well VB And Basic languages. In VB There was a command that called msgbox that sending u a box with ok button and something that is writen in there. I saw such a thing in blitz demo samples in the xfighter sample. when u trying to exit it sending u a messege that says "Exit Terrain Demo?" When I tried to Slove which command it was, it was in the "start.bb" - If info1$<>"" Apptitle "Exit"+Apptitle+"?" end if But Apptitle is defenetly another command. so how to do that? |
| ||
In blitz3d the only way, without using a gui lib or dll, to get the windows style msgbox to occur is when the program exits. The apptitle command has two parameters, the first being the name to give the application (shown in windowed mode), the second is optional and is the prompt to ask the user when the little x in the corner is pressed. |
| ||
Thanks, But do anyone knows about a gui lib or dll to do the msgbox? |
| ||
There is a MsgBox in my dll: http://www.codersworkshop.com/viewshowcase.php?id=734 The function is called Yo ("") However, I use RunTimeError "message" now. |
| ||
In user32.dll there is: api_MessageBox(0, "Press OK please", "Notification", 0) |
| ||
thx ill try it |