Disable keyboard-shortcuts in Internet Explorer
Does anybody know how can I programmatically disable the keyboard-shortcuts in IE?
For example, i have a textbox in my web page, with its value taken from a barcode r开发者_JAVA技巧eader. But the barcode contains the sequence Shift + Ctrl + J + Enter. Shift + Ctrl + J opens the IE feeds and Enter opens the selected feed in the browser, so this is a serious problem for me.
And if it's impossible to do this programmatically, is there a way that the client could resolve this from the browser's options, win registries, anything?
Can you accept the data in a pop up window? I'm thinking that if you open a popup window without all the chrome around it, the shortcut keys won't work.
Looks like this issue can be worked around in Firefox, is firefox a possibility for you?
You could implement an ActiveX Control that contains the text box and talks to the scanner. Implement IInputObject::TranslateAcceleratorIO()
and say no.
My question is why does your barcode contain Ctrl + Shift + J?! :)
精彩评论