PostMessage glHwnd, WM_CLOSE, 0&, 0&
Posted on 2005-04-30
I'm using this function to close a window containing certain titles I don't want to appear: PostMessage glHwnd, WM_CLOSE, 0&, 0&
However, if I get a popup window that reads "Internet Explorer Script Error"--it will not close this window. Unfortunately, the user must click either Yes or No in that error popup window box.
So...my question is: How can I get my application to automatically close that window? Maybe I can automate a way in which my app will select No in that error prompt, to close it???