I need to stop users from using the Windows Close (x) button on IE6. The application is VB.net WebForm based which accesses a mainframe transaction service via the browser.Is there anyway of making the windows close (x) unavailable to the user?
Software/Hardware used:
ASKED:
October 27, 2004 3:02 AM
UPDATED:
October 29, 2004 11:26 AM
I’m sure this can be done.
You should hook WM_QUIT in a WH_GETMESSAGE hook
In Form_Queryunload event set cancel=true