Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global Hot Keys
Message
 
 
À
10/07/2000 18:23:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00390531
Message ID:
00390625
Vues:
9
>I am working on an application where I'd like to use Global Hot Keys. The problem is the ON KEY LABEL on works if VFP has focus. I need the hot keys to work even if VFP is minimized and another app has focus.
>
>Any thoughts would help..
>Thank you
>Rich Imbruglio

Rich,
What exactly are you trying to accomplish? Perhaps there is something else someone can suggest.

Hotkeys are scoped to the thread that creates (registers) them. So even if you use the WinAPI to register some type of key combination, it won't transcend different applications.

You might be able to write a hook procedure and use SetWindowsHookEx to hook into the keyboard message queue and read it for your hotkey combination, but you aren't going to be able to do this with VFP (probably C++) and this goes far beyond my expertise.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform