I'm working on an application that uses webbrowser control. The site I'm acessing in the webbrowser uses flash and when I press Alt the flash freezes. I want to disable the Alt key to avoid this situation. I researched a lot about this but I didn't have found any concrete answer yet.
Asked
Active
Viewed 84 times
0
-
You could look into autohotkey, and remap the alt key to do nothing. You probably want to do this based on the program name or the currently active window title. – Derek Nov 12 '15 at 23:14
-
Since it is in your own program, you could look at handling keypress, look at keyup / key down events. – Derek Nov 12 '15 at 23:15
-
Instead, you should figure out why it's freezing and fix that. – SLaks Nov 12 '15 at 23:18
-
@SLaks That's why I mencioned the freezes. I looked for that in the internet: nothing. – David Amaral Nov 12 '15 at 23:38
-
What's the url of the site for test? – Reza Aghaei Sep 01 '16 at 14:46
-
@RezaAghaei Hey Reza, this an old question. I've already figured this out. Thanks. – David Amaral Sep 01 '16 at 15:45
-
Good job, so if you think the answer may be useful for future readers, post it here, but if you think it was a special case which can not be useful for future readers you can delete the question . – Reza Aghaei Sep 01 '16 at 15:49
-
@RezaAghaei I handled the Alt key with the code you provided me :D – David Amaral Sep 01 '16 at 15:51