Win32 Messages by MartinS10th Jan 2006 8:28
|
---|
Summary Win32 message boxes. Description This code make a 100% real windows message box. No media included so just cut 'n paste. Credit is apreciated, but not required.;-) Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com message("This is a Windows (r) message box.","Cool, huh?") FUNCTION message(MESSAGE$,TITLE$) OPEN TO WRITE 32,"c:\msgbox.vbs" WRITE STRING 32,"msgbox"+CHR$(34)+MESSAGE$+CHR$(34)+","+"0"+","+CHR$(34)+TITLE$+CHR$(34) CLOSE FILE 32 EXECUTE FILE "wscript.exe","c:\msgbox.vbs","C:\",1 DELETE FILE "c:\msgbox.vbs" ENDFUNCTION |