How to disable function key?

Hello:


Anyone know how to disable function key like F1, F2, ...

and others like Tab, Delete, or Win95 key (the one with

windows logo, use to bring up Start Menu). Can we you

VB to do this?


Thanks!


Comments

  • : Hello:


    : Anyone know how to disable function key like F1, F2, ...

    : and others like Tab, Delete, or Win95 key (the one with

    : windows logo, use to bring up Start Menu). Can we you

    : VB to do this?


    Put in Form_KeyDown code to check the value of KeyCode for each key you would like to disable, and change the KeyCode to = 0 for each of these values. The problem key is the Win95, when KeyDown event start the menu load event is first.

    : Thanks!





    URL:696.html

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories