Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Reading keyboard buffer
I'm using a text-object for input which has a keydown, keypress and keyup-event. The keydown-event is used to detect which key(combination) is pressed and act on it. The text-box is an ActiveX-control, as the "normal" VFP-objects only have a keypress-event which does not detect ALT-combinations. So, I receive a key, check the key and if it's a preset execution of that preset starts. However, when processing that preset, I don't receive the keyboard input (eg. the key-down doesn't fire) UNTIL the system (eg. the form) is ready for input again. In that way I miss a lot of input! I actually know the solution: just reading the keyboard-buffer directly. Only problem is, I don't know how... What I need is to be able to read the keyboard buffer directly, one way or another. If anyone have an idea...
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement