Can anyone explain why you can close this graphic window with an 'Esc' OK,
But if you close it with the upper right 'X' you get the error 496 :
Destination file write error. (the program is still running)
You can stop it in Task Manager, then do it all over again!
TIA , Lynn again.
But if you close it with the upper right 'X' you get the error 496 :
Destination file write error. (the program is still running)
You can stop it in Task Manager, then do it all over again!
TIA , Lynn again.
Code:
#COMPILE EXE #BREAK ON #DIM ALL #CONSOLE OFF GLOBAL i AS STRING GLOBAL hWin AS DWORD FUNCTION PBMAIN () AS LONG GRAPHIC WINDOW "Testing", 0 , 0, 1015, 725 TO hWin GRAPHIC ATTACH hWin, 0 DO IF hWin = 0 THEN EXIT FUNCTION GRAPHIC INKEY$ TO i LOOP UNTIL i = $ESC END Function
Comment