how to deactivate the keyboard?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
While there are a few ways ranging from overriding
ProcessDialogKey
and doing nothing while a state variable is set to P/InvokingSetWindowsHookEx
and writing an extremely efficient and robust keyboard hook, the most simple way is to setRichTextBox.Enabled
tofalse
. The point of disabling a control is to disable input into that control. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]