-
Jul 21st, 2020, 03:23 PM
#1
Thread Starter
Lively Member
Disable/Enable keyboard mapping
Is there a way to temporary disable/enable keyboard mapping at runtime? For example users with UK keyboards can not use CTRL+ALT+4, users with German keyboards can not use CTRL+ALT+8. The key combinations simply don't work. If no one has any ideas, how about programmatically changing the keyboard to US at runtime? As the last resort, how to hack the registry to free the key combination? TIA, Bob.
-
Jul 22nd, 2020, 02:54 AM
#2
Re: Disable/Enable keyboard mapping
-
Jul 30th, 2020, 03:03 AM
#3
Lively Member
Re: Disable/Enable keyboard mapping
If you want to "disable" other keypress events, maybe look at using code and ASCii to prevent certain events on taking place when user pressed the key for instance the 'TAB' key.
Attached is the ASCii list and control numbers that will be helpfull as well. You can use code as sample whilst say a textbox has focus -
Code:
If KeyAscii = 13 Then
SendKeys "{tab}"
End If
Attachment 178134
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|