Click to See Complete Forum and Search --> : Intercepting Windows Keystrokes?


kelemvor
01-25-2004, 06:31 PM
I'm setting up a form to be usedin a Kiosk mode in IE (no tookbars, status bar, menu bar, etc). Basically running in fullscreen mode.

However, all the standard keystrokes work for closing the window (Ctrl-W, Alt F4), forward and back (Alt+ arrow), etc.

Is there any way (maybe in something other than Javascript) to intercept those keystrokes and not pass them to windows? I basically want ti make it so that the window can't be closed unless a special key combo is pressed.

Thanks for any ideas.

fredmv
01-25-2004, 07:08 PM
I doubt what you're trying to do is possible. However, you might have to resort to using an HTA (http://msdn.microsoft.com/workshop/author/hta/reference/properties/hta_ref_properties_entry.asp), which will therefore only allow it to work under only Windows and only IE.