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
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