Disable Keyboard activity

Is it possible to disable keyboard activity using C# 2.0



Answer this question

Disable Keyboard activity

  • rajan nair

    Can you elaborate a little. Are you talking abuot Control Level or Form Level Or......... System Level .

    Best Regards,



  • GustavoPollitzer

    This is a great find!

    Excellent job!



  • Robert Barnes

    See this if it helps:

    http://www.codeproject.com/cs/system/CSLLKeyboard.asp

    Best Regards,



  • Atul Bahl

    I want to completely disable keyboard... so basically it would be system level

  • Maaloul

    in the textbox control use the keyPress event

    private void TextBox1_KeyPress(object sender, KeyPressEventArgs e)
    {

    e.Handled = true;
    }

    In a comboBox you use the KeyDown Event. Similar code...



  • Disable Keyboard activity