Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hotkey into VFP app?
Message
 
 
À
05/05/2003 00:53:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00784648
Message ID:
00784831
Vues:
11
That still does not address the problem. What is needed is a way to hook the keyboard input from all running programs and fire an event in the VFP app if a specific keyboard sequence is entered. This probably requires an API-level solution, as there seems to be no native features in VFP to provide this capability. EventHandler() is only useful if a COM object is available (somewhere out there) to hook keyboard input and fire an event upon the occurrence of a specific keyboard sequence. This keyboard sequence, which I want to control, would be programmatically specified as a property of the COM object.

I personally would prefer to solve this with API calls only so that I don't have to deal with 3rd-party COM objects when distributing the application.


>Ok, Mark.
>Maybe next information will be more helpful. In VFP 7.0 and 8.0 you can use new function:
>
>EventHandler(oCOMObject, oVFPObject [, lUnbind]),
>
>that binds a COM server event to implemented interface methods on a Visual FoxPro object. In VFP 6.0 you have to use DLL (you can download it from Microsoft website).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform