cubefarmer
06-05-2003, 03:48 AM
Hi,
i try to implement an application which uses the internet explorer as user interface. I need to somehow disable the use of ie-shortcuts (like CTRL-N for opening a new window) for this.
What i wanted to do is detect the buttons on the keypressed event and if the CTRL-Button is pressed i give an alert that the user should not use it. The Problem with this is: The right ALT-Button has the same number as the CTRL-Buttons and i cannot disable this ALT-Button, because i need it in the application.
Is there another possibility to detect only the CTRL-Button or to disable the shortcuts with javascript??
Thanks in advance for any help!
Cheers,
Thorsten
i try to implement an application which uses the internet explorer as user interface. I need to somehow disable the use of ie-shortcuts (like CTRL-N for opening a new window) for this.
What i wanted to do is detect the buttons on the keypressed event and if the CTRL-Button is pressed i give an alert that the user should not use it. The Problem with this is: The right ALT-Button has the same number as the CTRL-Buttons and i cannot disable this ALT-Button, because i need it in the application.
Is there another possibility to detect only the CTRL-Button or to disable the shortcuts with javascript??
Thanks in advance for any help!
Cheers,
Thorsten