Home > Software engineering >  Vb global hotkeys monitoring one key 0 a great god!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Vb global hotkeys monitoring one key 0 a great god!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Time:09-22

How to realize the 0 key being pressed, let the computer response only once, when 0 bounce when press 0 to activate again once again, that is to say 0 has always been in pressure or long according to the time in the absence of bounce let it performs only 1 time, or have any code can make 0 when pressed immediately bounce state (even if 0 is has been pushed in), and I am a novice, hope can be directly on the code,

CodePudding user response:

This, press the set a flag, pop-up recovery logo, when you know the rest of the...

CodePudding user response:

E have a hint of code, good enough

CodePudding user response:

It should be impossible!


If you put a key (Ctrl, Alt, Caps Lock, Num Lock, etc "the input character" key), according to
"Wait for a few seconds after (according to the time delay in the BIOS Settings), the keyboard to the computer itself sends" press "message,

CodePudding user response:

, of course, if you want to make your own code "in response to a button must be pressed" after "only performs a function response,"
Must let go, again press the "second response" and again when a certain function,

This can be done by "program logic",

CodePudding user response:

There is a API, GetAsyxxxKeystate? To monitor the Key global status, add a timer, continuous testing effect can be achieved

CodePudding user response:

Is there a way to realize the function of the building Lord completely
  •  Tags:  
  • API
  • Related