I asked this question before but I did not get any answer, so let me ask
again here. To be more specific consider the following program
Code: Select all
' uses WinGUI(12) by Lothar Schirm
Dim As HWND Window_Main, Label_txt
Dim As MSG msg
Window_Main = Window_New (100, 100, 300, 300, "This window is always open")
Label_txt = Label_New(50, 100, 200, 20, "Still visible when closed",, Window_Main)
Loop Until Window_Event_Close(Window_Main, msg)
Print "How to destroy this window "
Print "and keep program running ? "
When the window is closed it still hangs around. How to kill the beast?