I have to manually close this Graphic Window (Red X, Alt Tab) and then End it in Task Mgr as well. It never gets to the Msgbox.
'
'
Code:
'PBWIN 9.00 - WinApi 05/2008 - XP Pro SP3 #Compile Exe #Dim All #Include "WIN32API.INC" #Include "COMDLG32.INC" %Id_Dial_Graphic = 1000 Function PBMain ErrClear Local hwin As Dword, s$ Graphic Window "Testing", 100, 200, 200, 100 To hWin Graphic Attach hWin, %Id_Dial_Graphic g1: Graphic inkey$ To s$ If Len(s$) = 0 Then GoTo g1 'no key pressed Graphic Window End ? "Wait key works" 'Never gets here End Function 'Applikation beenden '
Comment