Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pause the program.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01227970
Message ID:
01228280
Vues:
26
Hi Russell,

>So would that mean that there's no guarantee your solution is going to pause the program during a loop?

Nope.

> yet it will not respond to an event outside VFP.

No, it doesn't. BINDEVENT hooks into the message queue. These queues are always bound to a particular window. Therefore you only receive key strokes sent to your window.

> anywhere in any Windows app.

That requires system hooks. However, creating such a hook on keyboard entry requires that the current user has elevated privileges and is also trapped by most anti-spyware tools. After all, that's how password sniffers work. Additionally, the API function (SetWindowsHookEx) requires a call back procedure and can therefore not be used with VFP directly.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform