Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hotkey into VFP app?
Message
 
 
To
05/05/2003 00:53:00
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00784648
Message ID:
00784831
Views:
12
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).
Previous
Reply
Map
View

Click here to load this message in the networking platform