Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to clear mouse clicks ?
Message
De
08/10/2001 03:38:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00565360
Message ID:
00565380
Vues:
18
>Can I clear waiting mouse click events - something similar to "clear typeahead" ?
>Pavel




Well, there is a crazy powerful API function call to block all keyboard and mouse input.

Note: Resource is from http://www.news2news.com/vfp/
which was an API reference link from UT. (Most API in VFP format. :)


DECLARE INTEGER BlockInput IN user32 INTEGER fBlockIt

what you do now:

BlockInput(1)
* code here
BlockInput(0)

and you must add BlockInput(0) at error handler!!!
Otherwise, if your coding got any errors, you need to boot machine.

Here, I should thanks UT give this good link 2 months ago. :)
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform