Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to clear mouse clicks ?
Message
From
08/10/2001 03:38:12
 
 
To
08/10/2001 02:04:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00565360
Message ID:
00565380
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform