Results 1 to 2 of 2

Thread: Disable the Shift, Ctrl and Alt button

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Hong Kong
    Posts
    4

    Question

    Dear all,

    I am having a problem on how to disable the Shift key, Alt key and Ctrl key for my application. Does anybody know how I can do it?

    Thanks for your sincere advices in advance.

    Cheers with best regards,

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Posts
    80

    Thumbs up

    You could just trap the keys in the KeyDown or KeyPress event (I don't remember which, it should be the one that accepts KeyAscii though).

    Check with the ASCII table or use the VB constants to know what to set KeyAscii = 0.

    HTH.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width