Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hotkey into VFP app?
Message
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00784648
Message ID:
00785061
Views:
17
Still digging... This is how to set it up using the Windows API. Now what I'm pretty clueless about is how to use the VFP API to handle a WM_Hotkey message in the message queue. Can any of you API gurus help me with this?

BOOL RegisterHotKey(
HWND hWnd, // handle to window
int id, // hot key identifier
UINT fsModifiers, // key-modifier options
UINT vk // virtual-key code
);

Here is the reference on MSDN.

>Is there a way to "hotkey" into a running VFP app? Here, I mean from any Windows application, so that if the user hits a hotkey combo, the VFP app will have a procedure within it called by the Windows OS and execute as an event. This seems like a capability that would have a lot of uses. Thanks very much.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform