Hi,
I have an app that can open a window to display a mapping web site, the mapping web site can take a while to load (site is java based), so when the app starts, i open the window, load the web site (using tactivex) and then hide the window. Then if the user wants to go to the mapping section of the app, the system shows the window to give the impression that the window loads instantly - this works well.
When the app closes, i try to close the window on the valid of the app window, this gives the appearance that both windows have closed, but when you look in task manager the executable is still running. If i call the window close routine that is in the valid from a menu option, the web window closes ok and then when i close the app, the app closes correctly.
Is there a problem opening a window within a window or is there another way of closing the window on exit of the app?
I have tried 2 methods for closing the web window - oWnd:End() and SendMessage( FindWindow( 0, Default_Text("TITLE", "DEVHIST") ), WM_CLOSE ) - both give the same results.
Regards,
Pete