Jump to content

disable keys

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
gor

gor

    Newbie

  • Members
  • PipPip
  • 15 posts
hi
how can i disable these keys: alt (both-left&right), ctr(just left one) and winkey?
thanks a lot

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
That depends on the context. Are you trying to do this at the OS level, in which case the answer will depend on the OS, at the application level, or something else?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Rustix666

Rustix666

    Newbie

  • Members
  • PipPip
  • 15 posts
example
on Form KeyPress/KeyDown function.

if Key=VK_ALT then Key=#0; //disable Alt key